summaryrefslogtreecommitdiff
path: root/libavcodec
Commit message (Collapse)AuthorAge
* smacker: convert palette and header reading to bytestream2.Ronald S. Bultje2012-03-25
|
* alac: convert extradata reading to bytestream2.Ronald S. Bultje2012-03-25
|
* x86: dsputil: prettyprint gcc inline asmDiego Biurrun2012-03-25
|
* x86: K&R prettyprinting cosmetics for dsputil_mmx.cDiego Biurrun2012-03-25
|
* x86: conditionally compile H.264 QPEL optimizationsDiego Biurrun2012-03-25
|
* dsputil_mmx: Surround QPEL macros by "do { } while (0);" blocks.Diego Biurrun2012-03-25
| | | | This makes them safe to use in non-fully braced if-blocks and similar.
* dpcm: convert to bytestream2.Ronald S. Bultje2012-03-24
|
* interplayvideo: convert to bytestream2.Ronald S. Bultje2012-03-24
|
* h264: fix memleak in error path.Alexander Strange2012-03-24
| | | | Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
* pthread: Immediately release all frames in ff_thread_flush()Alexander Strange2012-03-24
| | | | | | | | Before this, they were only added to the delayed release queue and not freed until later. This could lead to unnecessary memory use or buffer exhaustion. Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
* h264: Add check for invalid chroma_format_idcAlexander Strange2012-03-24
| | | | | | Fixes a crash when FF_DEBUG_PICT_INFO is used. Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
* utvideo: port header reading to bytestream2.Ronald S. Bultje2012-03-24
| | | | | | | Fixes crash during slice size reading if slice_end goes negative. Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind CC: libav-stable@libav.org
* pthread: free progress if buffer allocation failed.Ronald S. Bultje2012-03-24
| | | | | | | Else we run out of progress variables after a few failed buffer allocations. Signed-off-by: Anton Khirnov <anton@khirnov.net>
* lavc/avconv: support changing frame sizes in codecs with frame mt.Ronald S. Bultje2012-03-24
| | | | Signed-off-by: Anton Khirnov <anton@khirnov.net>
* utvideo: mark output picture as keyframe.Kostya Shishkov2012-03-24
| | | | Spotted by Антон.
* sunrast: Add support for negative linesize.Aneesh Dogra2012-03-24
| | | | Signed-off-by: Justin Ruggles <justin.ruggles@gmail.com>
* vp8: fix update_lf_deltas in libavcodec/vp8.cJanne Salonen2012-03-24
| | | | | | | | | lf_delta.ref[i] and lf_delta.mode[i] were incorrectly reset to 0 if specific delta value was not updated. Fixed to keep the previous value if flag indicates that element in question is not updated. Signed-off-by: Janne Salonen <jsalonen@google.com> Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
* ralf: read Huffman code lengths without GetBitContextKostya Shishkov2012-03-24
| | | | | Those descriptions are stored in nibbles, so they are easy to extract. And this way we don't need to pad tables for possible bit reader overreads.
* rv34: error out on size changes with frame threadingJanne Grunau2012-03-23
|
* aacsbr: Add a debug check to sbr_mapping.Alex Converse2012-03-23
| | | | | | | | There have been multiple bugs caused by inconsistencies here. Based on an idea from Michael Niedermayer. CC: libav-stable@libav.org
* aac: Reset some state variables when turning SBR offAlex Converse2012-03-23
| | | | | | | | This makes sure the reset flag gets set when SBR gets turned back on and sets control variables for unguided mode back to their defaults. Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind CC: libav-stable@libav.org
* aac: Reset PS parameters on header decode failure.Alex Converse2012-03-23
| | | | | | | | If the next header frame codes zero envelopes the previous frame's values will be used. Consequently the invalid values must be cleared. Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind CC: libav-stable@libav.org
* aacsbr: handle m_max values smaller than 4.Ronald S. Bultje2012-03-23
| | | | | | | | Prevents a signflip in the counter, and a subsequent crash because of overreads/overwrites. Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind CC: libav-stable@libav.org
* rv34: Handle only complete frames in frame-mt.Janne Grunau2012-03-23
| | | | | | | | Correct handling of errors to prevent hags or crashes is very complex otherwise. The frame initializing is also moved from decode_slice() to decode_frame() for clarity.
* MPV: set reference frame pointers to NULL when allocation of dummy pictures ↵Janne Grunau2012-03-23
| | | | fails
* zerocodec: factorize loopMichael Niedermayer2012-03-23
| | | | Signed-off-by: Diego Biurrun <diego@biurrun.de>
* wmavoice: fix stack overread.Ronald S. Bultje2012-03-22
| | | | | Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind CC: libav-stable@libav.org
* wmalossless: error out if a subframe is not used by any channel.Ronald S. Bultje2012-03-22
| | | | | | | Prevents infinite loop because min_channel_len never increments. Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind CC: libav-stable@libav.org
* vqa: check palette chunk size before reading data.Ronald S. Bultje2012-03-22
| | | | | | | Prevents overreads beyond buffer boundaries. Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind CC: libav-stable@libav.org
* wmalossless: reset sample pointer for each subframe.Ronald S. Bultje2012-03-22
| | | | | | | Prevents overwrites when some subframes only encode some channels. Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind CC: libav-stable@libav.org
* wmalossless: error out on invalid values for order.Ronald S. Bultje2012-03-22
| | | | | Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind CC: libav-stable@libav.org
* pngenc: better upper bound for encoded frame size.Anton Khirnov2012-03-22
| | | | | | Fixes encoding very large pictures. Thanks to Костя for providing the formula.
* wmall: output packet only if we have decoded some samplesKostya Shishkov2012-03-22
| | | | | Also set CODEC_CAP_DELAY to indicate that decoder may still have some undecoded data left in internal buffer.
* adxenc: use AVCodec.encode2()Justin Ruggles2012-03-21
|
* adxenc: Use the AVFrame in ADXContext for coded_frameJustin Ruggles2012-03-21
|
* indeo4: fix out-of-bounds function call.Ronald S. Bultje2012-03-21
| | | | | | | Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind CC: libav-stable@libav.org Signed-off-by: Kostya Shishkov <kostya.shishkov@gmail.com>
* vorbisenc: use AVCodec.encode2()Justin Ruggles2012-03-21
|
* libvorbis: use AVCodec.encode2()Justin Ruggles2012-03-21
|
* libopencore-amrnbenc: use AVCodec.encode2()Justin Ruggles2012-03-21
|
* ra144enc: use AVCodec.encode2()Justin Ruggles2012-03-21
|
* nellymoserenc: use AVCodec.encode2()Justin Ruggles2012-03-21
|
* roqaudioenc: use AVCodec.encode2()Justin Ruggles2012-03-21
| | | | | The first frame pts must be saved until we have 8 frames since RoQ audio requires 8 frames in the first packet.
* libspeex: use AVCodec.encode2()Justin Ruggles2012-03-21
|
* libvo_amrwbenc: use AVCodec.encode2()Justin Ruggles2012-03-21
|
* libvo_aacenc: use AVCodec.encode2()Justin Ruggles2012-03-21
|
* wmaenc: use AVCodec.encode2()Justin Ruggles2012-03-21
|
* mpegaudioenc: use AVCodec.encode2()Justin Ruggles2012-03-20
| | | | Update FATE references due to encoder delay.
* libmp3lame: use AVCodec.encode2()Justin Ruggles2012-03-20
|
* libgsmenc: use AVCodec.encode2()Justin Ruggles2012-03-20
|
* libfaac: use AVCodec.encode2()Justin Ruggles2012-03-20
| | | | | Encoder output is delayed by several frames, so we keep a queue of input frame timing info to match up with corresponding output packets.