Age | Commit message (Collapse) | Author | |
---|---|---|---|
2014-01-06 | 4xm: replace forcing EMU_EDGE by a copy | Anton Khirnov | |
The decoder currently sets CODEC_FLAG_EMU_EDGE and relies on get_buffer2() to always provide buffers with linesize == 2 * width. This is wrong, since we place no such restriction on get_buffer2() implementations. Fix this by decoding into internal buffers and copying them to output frames. Since this is a very obscure decoder, the performance hit should not be an issue. | |||
2014-01-06 | 4xm: return a proper error code. | Anton Khirnov | |
2013-10-04 | cosmetics: Group .name and .long_name together in codec/format declarations | Diego Biurrun | |
2013-07-24 | 4xm: Reject not a multiple of 16 dimension | Luca Barbato | |
Reported-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind CC: libav-stable@libav.org | |||
2013-06-12 | 4xm: check bitstream_size boundary before using it | Luca Barbato | |
Prevent buffer overread. Reported-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind CC: libav-stable@libav.org | |||
2013-06-12 | 4xm: refactor decode_p_block | Luca Barbato | |
Directly return from code 1, 2 and 6 codepaths and simplify the remaining one to have a single overflow check and a single call to mcdc. | |||
2013-06-12 | 4xm: do not overread the source buffer in decode_p_block | Luca Barbato | |
Check for out of picture macroblocks before calling mcdc. Reported-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind CC: libav-stable@libav.org | |||
2013-06-12 | 4xm: do not overread the prestream buffer | Luca Barbato | |
Reported-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind CC: libav-stable@libav.org | |||
2013-06-12 | 4xm: validate the buffer size before parsing it | Luca Barbato | |
Reported-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind CC: libav-stable@libav.org | |||
2013-06-12 | 4xm: reject frames not compatible with the declared version | Luca Barbato | |
Reported-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind CC: libav-stable@libav.org | |||
2013-06-12 | 4xm: drop pointless assert | Luca Barbato | |
Make sure the value of wlog2 is always between 0 and 3. | |||
2013-06-12 | 4xm: forward errors from decode_p_block | Luca Barbato | |
Partially mitigate out of memory writes. Reported-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind CC: libav-stable@libav.org | |||
2013-06-12 | 4xm: fold last_picture lazy allocation in decode_p_frame | Luca Barbato | |
2013-06-12 | 4xm: refactor fourxm_read_header | Luca Barbato | |
Split sound and video tag parsing in separate functions. | |||
2013-06-12 | 4xm: use the correct logging context | Luca Barbato | |
2013-05-16 | Remove commented-out debug #define cruft | Diego Biurrun | |
2013-03-08 | lavc decoders: work with refcounted frames. | Anton Khirnov | |
2013-02-23 | 4xm: check the return value of read_huffman_tables(). | Anton Khirnov | |
CC:libav-stable@libav.org | |||
2013-01-23 | Drop DCTELEM typedef | Diego Biurrun | |
It does not help as an abstraction and adds dsputil dependencies. Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com> | |||
2013-01-06 | 4xm: operate with pointers to AVFrames instead of whole structs. | Anton Khirnov | |
This is more correct and avoids breaking extended_data. | |||
2013-01-06 | 4xm: eliminate a pointless indirection | Anton Khirnov | |
2013-01-06 | 4xm: simplify code with FFSWAP | Anton Khirnov | |
2013-01-06 | 4xm: return meaningful error codes | Anton Khirnov | |
2012-12-23 | 4xm: don't rely on get_buffer() initializing the frame. | Anton Khirnov | |
2012-12-21 | miscellaneous typo fixes | Diego Biurrun | |
2012-12-05 | lavc: fix decode_frame() third parameter semantics for video decoders | Anton Khirnov | |
It's got_frame, not data size | |||
2012-12-05 | lavc: add a wrapper for AVCodecContext.get_buffer(). | Anton Khirnov | |
It will be useful in the upcoming transition to refcounted AVFrames. | |||
2012-10-08 | Replace PIX_FMT_* -> AV_PIX_FMT_*, PixelFormat -> AVPixelFormat | Anton Khirnov | |
2012-08-07 | Replace all CODEC_ID_* with AV_CODEC_ID_* | Anton Khirnov | |
2012-04-29 | 4xm: fix invalid array indexing | Mans Rullgard | |
Indexing outside arrays is invalid and breaks with gcc 4.8. Signed-off-by: Mans Rullgard <mans@mansr.com> | |||
2012-03-28 | Replace memset(0) by zero initializations. | Diego Biurrun | |
Also remove one pointless zero initialization in rangecoder.c. | |||
2012-02-16 | dsputil: Add ff_ prefix to the dsputil*_init* functions | Martin Storsjö | |
Signed-off-by: Martin Storsjö <martin@martin.st> | |||
2012-02-16 | vlc/rl: Add ff_ prefix to the nonstatic symbols | Martin Storsjö | |
Signed-off-by: Martin Storsjö <martin@martin.st> | |||
2012-02-10 | 4xm, timefilter: K&R formatting cosmetics | Yordan Makariev | |
Signed-off-by: Diego Biurrun <diego@biurrun.de> | |||
2012-01-28 | cosmetics: Remove extra newlines at EOF | Alex Converse | |
2012-01-05 | 4xm: Prevent buffer overreads. | Aneesh Dogra | |
4xm decoder while decoding i2 frames can overread the buffer if proper checks are not made. Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com> | |||
2012-01-05 | Revert "4xm: Prevent buffer overreads." | Ronald S. Bultje | |
This reverts commit 295a7c0238e84b0ffa8f21ed938d45f51f54a4cd. The patch breaks decoding of regular files (e.g. fate-4xm-2). | |||
2012-01-05 | 4xm: Prevent buffer overreads. | Aneesh Dogra | |
4xm decoder while decoding i2 frames can overread the buffer if proper checks are not made. Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com> | |||
2012-01-05 | 4xm: pass the correct remaining buffer size to decode_i2_frame(). | Aneesh Dogra | |
frame_size is the number of bytes left in the packet, so if we are passing buf-4 we can safely read frame_size+4 bytes. Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com> | |||
2012-01-05 | 4xm: fix calculation of the next output line position in decode_i2_frame(). | Aneesh Dogra | |
The current code doesn't work unless width is an exact multiple of 16. Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com> | |||
2011-12-23 | 4xm: remove unused variables. | Anton Khirnov | |
2011-12-23 | 4xm: Add a check in decode_i_frame to prevent buffer overreads | Shitiz Garg | |
Fixes bugzilla #135 Signed-off-by: Janne Grunau <janne-libav@jannau.net> | |||
2011-12-20 | 4xm: Use bytestream2 functions to prevent overreads | Aneesh Dogra | |
Fixes Bug 110. Signed-off-by: Justin Ruggles <justin.ruggles@gmail.com> | |||
2011-12-18 | 4xm: remove unneeded check for remaining unused data. | Justin Ruggles | |
This is unnecessary complication that only prints a message and does not affect decoding. | |||
2011-10-10 | 4xm: prevent NULL dereference with invalid huffman table | Laurent Aimar | |
Signed-off-by: Janne Grunau <janne-libav@jannau.net> | |||
2011-10-10 | 4xm: clear FF_INPUT_BUFFER_PADDING_SIZE bytes in temporary buffers | Laurent Aimar | |
Signed-off-by: Janne Grunau <janne-libav@jannau.net> | |||
2011-10-10 | 4xm: fix signed overflow | Mans Rullgard | |
Signed-off-by: Mans Rullgard <mans@mansr.com> | |||
2011-07-29 | lavc: use designated initialisers for all codecs. | Anton Khirnov | |
It's more readable and less prone to breakage. | |||
2011-05-02 | Replace deprecated FF_*_TYPE symbols with AV_PICTURE_TYPE_*. | Stefano Sabatini | |
Signed-off-by: Diego Biurrun <diego@biurrun.de> | |||
2011-03-19 | Replace FFmpeg with Libav in licence headers | Mans Rullgard | |
Signed-off-by: Mans Rullgard <mans@mansr.com> |