Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/FFmpeg/FFmpeg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2014-01-064xm: replace forcing EMU_EDGE by a copyAnton 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-064xm: return a proper error code.Anton Khirnov
2013-10-04cosmetics: Group .name and .long_name together in codec/format declarationsDiego Biurrun
2013-07-244xm: Reject not a multiple of 16 dimensionLuca Barbato
Reported-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind CC: libav-stable@libav.org
2013-06-124xm: check bitstream_size boundary before using itLuca Barbato
Prevent buffer overread. Reported-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind CC: libav-stable@libav.org
2013-06-124xm: refactor decode_p_blockLuca 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-124xm: do not overread the source buffer in decode_p_blockLuca 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-124xm: do not overread the prestream bufferLuca Barbato
Reported-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind CC: libav-stable@libav.org
2013-06-124xm: validate the buffer size before parsing itLuca Barbato
Reported-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind CC: libav-stable@libav.org
2013-06-124xm: reject frames not compatible with the declared versionLuca Barbato
Reported-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind CC: libav-stable@libav.org
2013-06-124xm: drop pointless assertLuca Barbato
Make sure the value of wlog2 is always between 0 and 3.
2013-06-124xm: forward errors from decode_p_blockLuca Barbato
Partially mitigate out of memory writes. Reported-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind CC: libav-stable@libav.org
2013-06-124xm: fold last_picture lazy allocation in decode_p_frameLuca Barbato
2013-06-124xm: refactor fourxm_read_headerLuca Barbato
Split sound and video tag parsing in separate functions.
2013-06-124xm: use the correct logging contextLuca Barbato
2013-05-16Remove commented-out debug #define cruftDiego Biurrun
2013-03-08lavc decoders: work with refcounted frames.Anton Khirnov
2013-02-234xm: check the return value of read_huffman_tables().Anton Khirnov
CC:libav-stable@libav.org
2013-01-23Drop DCTELEM typedefDiego Biurrun
It does not help as an abstraction and adds dsputil dependencies. Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
2013-01-064xm: operate with pointers to AVFrames instead of whole structs.Anton Khirnov
This is more correct and avoids breaking extended_data.
2013-01-064xm: eliminate a pointless indirectionAnton Khirnov
2013-01-064xm: simplify code with FFSWAPAnton Khirnov
2013-01-064xm: return meaningful error codesAnton Khirnov
2012-12-234xm: don't rely on get_buffer() initializing the frame.Anton Khirnov
2012-12-21miscellaneous typo fixesDiego Biurrun
2012-12-05lavc: fix decode_frame() third parameter semantics for video decodersAnton Khirnov
It's got_frame, not data size
2012-12-05lavc: add a wrapper for AVCodecContext.get_buffer().Anton Khirnov
It will be useful in the upcoming transition to refcounted AVFrames.
2012-10-08Replace PIX_FMT_* -> AV_PIX_FMT_*, PixelFormat -> AVPixelFormatAnton Khirnov
2012-08-07Replace all CODEC_ID_* with AV_CODEC_ID_*Anton Khirnov
2012-04-294xm: fix invalid array indexingMans Rullgard
Indexing outside arrays is invalid and breaks with gcc 4.8. Signed-off-by: Mans Rullgard <mans@mansr.com>
2012-03-28Replace memset(0) by zero initializations.Diego Biurrun
Also remove one pointless zero initialization in rangecoder.c.
2012-02-16dsputil: Add ff_ prefix to the dsputil*_init* functionsMartin Storsjö
Signed-off-by: Martin Storsjö <martin@martin.st>
2012-02-16vlc/rl: Add ff_ prefix to the nonstatic symbolsMartin Storsjö
Signed-off-by: Martin Storsjö <martin@martin.st>
2012-02-104xm, timefilter: K&R formatting cosmeticsYordan Makariev
Signed-off-by: Diego Biurrun <diego@biurrun.de>
2012-01-28cosmetics: Remove extra newlines at EOFAlex Converse
2012-01-054xm: 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-05Revert "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-054xm: 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-054xm: 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-054xm: 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-234xm: remove unused variables.Anton Khirnov
2011-12-234xm: Add a check in decode_i_frame to prevent buffer overreadsShitiz Garg
Fixes bugzilla #135 Signed-off-by: Janne Grunau <janne-libav@jannau.net>
2011-12-204xm: Use bytestream2 functions to prevent overreadsAneesh Dogra
Fixes Bug 110. Signed-off-by: Justin Ruggles <justin.ruggles@gmail.com>
2011-12-184xm: 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-104xm: prevent NULL dereference with invalid huffman tableLaurent Aimar
Signed-off-by: Janne Grunau <janne-libav@jannau.net>
2011-10-104xm: clear FF_INPUT_BUFFER_PADDING_SIZE bytes in temporary buffersLaurent Aimar
Signed-off-by: Janne Grunau <janne-libav@jannau.net>
2011-10-104xm: fix signed overflowMans Rullgard
Signed-off-by: Mans Rullgard <mans@mansr.com>
2011-07-29lavc: use designated initialisers for all codecs.Anton Khirnov
It's more readable and less prone to breakage.
2011-05-02Replace deprecated FF_*_TYPE symbols with AV_PICTURE_TYPE_*.Stefano Sabatini
Signed-off-by: Diego Biurrun <diego@biurrun.de>
2011-03-19Replace FFmpeg with Libav in licence headersMans Rullgard
Signed-off-by: Mans Rullgard <mans@mansr.com>