summaryrefslogtreecommitdiff
path: root/libavcodec
Commit message (Collapse)AuthorAge
...
* avcodec: add GSM parserJustin Ruggles2012-01-11
| | | | | The WAVE demuxer returns packets with many blocks per frame, which needs to be parsed into single blocks. This has a side-effect of fixing the timestamps.
* Fix a bunch of platform name and other typos.Diego Biurrun2012-01-11
|
* threads: add CODEC_CAP_AUTO_THREADS for libvpx and xavsJanne Grunau2012-01-11
|
* rv34: frame-level multi-threadingJanne Grunau2012-01-10
| | | | | | | | Statistics for bourne.rmvb -an -f null 1 thread: 37.12s user 0.03s system 99% cpu 37.174 total 2 threads: 47.63s user 0.24s system 185% cpu 25.807 total 4 threads: 41.21s user 0.30s system 327% cpu 12.674 total
* mpegvideo: claim ownership of referenced picturesJanne Grunau2012-01-10
| | | | | | | | | Under certain conditions pictures could be released before they were returned with frame-threading. Broken mv computation in the upcoming rv34 frame-threading patch was caused by this. To prevent contexts from running out of available pictures the loop releasing "unused" pictures has to be run for B frames too.
* aacsbr: prevent out of bounds memcpy().Alex Converse2012-01-10
| | | | | | | | | | | Fixes Libav Bug 195. This doesn't make the code handle sample rate or upsample/downsample change properly but this is still a good sanity check. Based on change by Michael Niedermayer. Signed-off-by: Alex Converse <alex.converse@gmail.com>
* bethsoftvideo: Use bytestream2 functions to prevent buffer overreads.Aneesh Dogra2012-01-10
| | | | Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
* bmpenc: support for PIX_FMT_RGB444Paul B Mahol2012-01-10
| | | | Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
* rv34: use get_bits_left()Janne Grunau2012-01-10
| | | | | It is not necessary to store the bit stream length in a RV34DecContext field.
* bmpdec: support for rgb444 with bitfields compressionPaul B Mahol2012-01-10
| | | | | | Do not display garbage for invalid/unsupported bitfields values. Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
* kmvc: Use bytestream2 functions to prevent buffer overreads.Laurentiu Ion2012-01-09
| | | | Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
* aacps: Add missing newline in error message.Alex Converse2012-01-09
|
* aacdec: Turn off PS for multichannel files that use PCE based configs.Alex Converse2012-01-09
| | | | Fixes al_sbr_cm_48_5.1.mp4.
* cabac: remove put_cabac_u/ueg from cabac-test.Diego Biurrun2012-01-09
| | | | | The functions are not used in any part of Libav, therefore testing them in the cabac-test is unnecessary. Since this makes them unused, remove the functions.
* mpegaudiodec: optimized iMDCT transformVitor Sessak2012-01-08
| | | | Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
* mpegaudiodec: change imdct window arrangment for better pointer alignmentVitor Sessak2012-01-08
| | | | Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
* mpegaudiodec: move imdct and windowing function to mpegaudiodspVitor Sessak2012-01-08
| | | | Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
* mpegaudiodec: interleave iMDCT buffer to simplify future SIMD implementationsVitor Sessak2012-01-08
| | | | Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
* mjpegdec: K&R formatting cosmeticsDaniel Huang2012-01-08
| | | | Signed-off-by: Diego Biurrun <diego@biurrun.de>
* bfi: Use bytestream2 functions to prevent buffer overreads.Aneesh Dogra2012-01-08
| | | | Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
* dpcm: Fix invalid writesLaurentiu Ion2012-01-08
| | | | | | Fixes bug: #152 Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
* utvideo: frame multithreading.Aneesh Dogra2012-01-08
| | | | | | | | | | >> time ./avconv -i file.avi -f null - Before : real 0m7.784s After : real 0m3.662s Tested on a Intel Core i3 Processor (2 cores, 4 threads). Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
* vorbis: An additional defense in the Vorbis codec.Chris Evans2012-01-08
| | | | | | | | Fixes Bug: #190 Chromium Bug: #100543 Related to CVE-2011-3893 Signed-off-by: Reinhard Tartler <siretart@tauware.de>
* vorbisdec: Fix decoding bug with channel handlingReinhard Tartler2012-01-07
| | | | | | | | Fixes Bug: #191 Chromium Bug: #101458 CVE-2011-3895 Signed-off-by: Reinhard Tartler <siretart@tauware.de>
* cabac: Move code only used within the CABAC test program into the test program.Diego Biurrun2012-01-07
|
* vp56: Drop unnecessary cabac.h #include.Diego Biurrun2012-01-07
|
* h264-test: Initialize AVCodecContext.av_class.Diego Biurrun2012-01-07
| | | | | | This fixes a segfault on startup. Also remove a commented-out and completely unused variable.
* cosmetics: drop some pointless parenthesesDiego Biurrun2012-01-07
|
* avcodec: attempt to clarify the CODEC_CAP_DELAY documentationJustin Ruggles2012-01-07
|
* avcodec: fix avcodec_encode_audio() documentation.Justin Ruggles2012-01-07
| | | | | the previous documentation indicated how many bytes are read from the input, not how many samples are read.
* g722enc: validate AVCodecContext.trellisJustin Ruggles2012-01-07
|
* g722enc: set frame_size, and also handle an odd number of input samplesJustin Ruggles2012-01-07
| | | | | The fate reference is updated because the previous test skipped a sample in each encode() call due each input frame having an odd number of samples.
* g722enc: split encoding into separate functions for trellis vs. no trellisJustin Ruggles2012-01-07
|
* mpegaudiodec: Use clearer pointer mathVitor Sessak2012-01-07
| | | | Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
* tta: fix 24-bit decoding.Justin Ruggles2012-01-07
| | | | Decode to the correct output buffer.
* interplayvideo: Handle changed video dimensions on the flyPaul B Mahol2012-01-07
| | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* libavcodec: Handle param change side data in avcodec_decode_video2, tooMartin Storsjö2012-01-07
| | | | | | Also call avcodec_set_dimensions on dimension param change packets. Signed-off-by: Martin Storsjö <martin@martin.st>
* libavcodec: Move apply_param_change up above avcodec_decode_video2Martin Storsjö2012-01-07
| | | | | | This is in preparation to calling it from avcodec_decode_video2. Signed-off-by: Martin Storsjö <martin@martin.st>
* indeo3: check motion vectors for validityJanne Grunau2012-01-07
| | | | | | Fixes null pointer dereferences in fuzzed files found by Oana Stratulat. Signed-off-by: Janne Grunau <janne-libav@jannau.net>
* indeo5: Fix null pointer dereference.Michael Niedermayer2012-01-07
| | | | | | Bug found by: Oana Stratulat Signed-off-by: Janne Grunau <janne-libav@jannau.net>
* flicvideo: fix invalid readsLaurentiu Ion2012-01-06
| | | | | | | Prevent invalid reads using bytestream2 functions. Fixes bug #126. Signed-off-by: Justin Ruggles <justin.ruggles@gmail.com>
* vorbis: Avoid some out-of-bounds readsChris Evans2012-01-06
| | | | | | | | Fixes Bug: #190 Chromium Bug: #100543 Related to CVE-2011-3893 Signed-off-by: Reinhard Tartler <siretart@tauware.de>
* cabac: remove unused function renorm_cabac_decoderDiego Biurrun2012-01-06
|
* h264: Only use symbols from the SVQ3 decoder under proper conditionals.Diego Biurrun2012-01-06
| | | | Fixes --disable-everything --enable-decoder=h264 --disable-optimizations.
* add bytestream2_tell() and bytestream2_seek() functionsJustin Ruggles2012-01-05
|
* parsers: initialize MpegEncContext.slice_context_count to 1Janne Grunau2012-01-06
| | | | | | | | | The mpeg4 video, H264 and VC-1 parser hold (directly or indirectly) a MpegEncContext in their private context. Since they do not call the common mpegvideo init function slice_context_count has explicitly set to 1. Prevents a null pointer dereference in the h264 parser and fixes bug 193.
* truemotion2: check size before GetBitContext initialisationJanne Grunau2012-01-05
| | | | Prevents null ptr derefence for negative sizes.
* adpcm: ADPCM Electronic Arts has always two channelsJanne Grunau2012-01-05
|
* 4xm: Prevent buffer overreads.Aneesh Dogra2012-01-05
| | | | | | | 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>
* mjpegdec: parse RSTn to prevent skipping other data in mjpeg_decode_scanJanne Grunau2012-01-05
| | | | | | | Check explicitly if enough bits are left to prevent an infinite loop when the bitstream buffer is not followed by zero-padding. Based on patches by Michael Niedermayer <michaelni@gmx.at>.