summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
* swscale: K&R reformatting cosmetics for header filesDiego Biurrun2012-01-08
|
* FATE test: cvid-grayscale; ensures that the grayscale Cinepak variant is ↵Mike Melanson2012-01-08
| | | | | | exercised. Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
* 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.
* build: Skip compiling network.h and rtsp.h if networking is not enabled.Diego Biurrun2012-01-07
| | | | | | rtsp.h relies on network.h and the latter conditionally defines fallback OS structures that rely on configure tests, which are only run if networking is enabled.
* cosmetics: drop some pointless parenthesesDiego Biurrun2012-01-07
|
* Disable annoying warning without changing behaviorAndrey Utkin2012-01-07
| | | | Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
* faq: Solutions for common problems with sample paths when running FATE.Diego 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.
* FATE: xmv-demux test; exercise the XMV demuxer without decoding the ↵Mike Melanson2012-01-07
| | | | | | | | | perceptual codecs inside. Code coverage: libavformat/xmv.c: 3% -> 91% Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
* vqf: recognize more metadata chunksPaul B Mahol2012-01-07
| | | | | | | Do not create tags for non-char chunks. Create readable tag for DSIZ chunk. Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
* FATE test: BMV demuxer and associated video and audio decoders.Mike Melanson2012-01-07
| | | | | | | | Code coverage: libavcodec/bmv.c: 0% -> 75% libavformat/bmv.c: 0% -> 85% Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
* FATE: indeo4 video decoder test.Mike Melanson2012-01-07
| | | | | | | Code coverage: libavcodec/indeo4.c: 0% -> 78% Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
* FATE: update xxan-wc4 test to a sample with more code coverage.Mike Melanson2012-01-07
| | | | | | | | | The previous sample used for this test only contained type 0 frames. Replace it with a sample that also features type 1 frames. Code coverage: libavcodec/xxan.c: 72% -> 89% Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
* Change the recent h264_mp4toannexb bitstream filter test to output to an ↵Mike Melanson2012-01-07
| | | | | | elementary stream rather than a program stream. Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
* 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 returned error code at EOFMichael Niedermayer2012-01-07
| | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at> Signed-off-by: Justin Ruggles <justin.ruggles@gmail.com>
* tta: fix off be 1 error in the end detection.Michael Niedermayer2012-01-07
| | | | | | | Fixes use of uninitialized values. Signed-off-by: Michael Niedermayer <michaelni@gmx.at> Signed-off-by: Justin Ruggles <justin.ruggles@gmail.com>
* tta: fix 24-bit decoding.Justin Ruggles2012-01-07
| | | | Decode to the correct output buffer.
* ipmovie: Add param change side data if the video dimensions have changedPaul B Mahol2012-01-07
| | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* 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>
* electronicarts: check bytes per sample for validityJanne Grunau2012-01-07
| | | | Prevents division by zero.
* 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>
* vqf: add more known extensionsPaul B Mahol2012-01-06
| | | | Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
* 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.
* spdifenc: use special alignment for DTS-HD length_codeAnssi Hannula2012-01-05
| | | | | | | | Align IEC 61937 length_code for DTS-HD so that (length_code & 0xf) == 0x8. This is reportedly needed with some receivers. Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
* ipmovie: do not read audio packets before the codec is knownJanne Grunau2012-01-05
| | | | Prevents a division by zero.
* truemotion2: check size before GetBitContext initialisationJanne Grunau2012-01-05
| | | | Prevents null ptr derefence for negative sizes.
* avio: Only do implicit network initialization for network protocolsMartin Storsjö2012-01-05
| | | | | | | | | | The implicit network initialization is set to be removed in the future, but is kept for compatibility. By not doing the implicit initialization for non-network protocols, we avoid the warning about avformat_network_init() not being called for these, where it really doesn't make much sense. Signed-off-by: Martin Storsjö <martin@martin.st>
* avio: Add an URLProtocol flag for indicating that a protocol uses networkMartin Storsjö2012-01-05
| | | | | | | This definition is in two files, since the definitions will move to the private header at the next bump. Signed-off-by: Martin Storsjö <martin@martin.st>
* adpcm: ADPCM Electronic Arts has always two channelsJanne Grunau2012-01-05
|
* matroskadec: Fix a bug where a pointer was cached to an array that might ↵Chris Evans2012-01-05
| | | | | | | | | | later move due to a realloc() Fixes bug #190 Chromium bug #100492 related to CVE-2011-3893 Signed-off-by: Reinhard Tartler <siretart@tauware.de>