summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
...
* adpcm: convert adpcm_ima_wav to bytestream2.Ronald S. Bultje2012-03-18
|
* adpcm: convert adpcm_ima_qt to bytestream2.Ronald S. Bultje2012-03-18
|
* adpcm: fix nb_samples rounding for adpcm_ima_dk3, and update reference.Ronald S. Bultje2012-03-18
|
* oma: Fix out of array read.Michael Niedermayer2012-03-18
| | | | | | | | | | | Input: 01-Untitled-partial.oma ZZUF params: zzuf[s=7157,r=0.001] Fixes Bugzilla #106 Bug-found-by: darkshikari Signed-off-by: Michael Niedermayer <michaelni@gmx.at> Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
* fate: make compare() function compatible with POSIX bcMans Rullgard2012-03-18
| | | | Signed-off-by: Mans Rullgard <mans@mansr.com>
* Update Janne's email address.Diego Biurrun2012-03-18
|
* APIchanges: Replace Subversion revision numbers by Git hashes.Diego Biurrun2012-03-18
|
* bytestream: Eliminate one level of pointless macro indirection.Diego Biurrun2012-03-18
|
* xwd: convert to bytestream2.Ronald S. Bultje2012-03-18
|
* vqavideo: port to bytestream2 APIPaul B Mahol2012-03-18
| | | | | | | Protects against overreads. Signed-off-by: Paul B Mahol <onemda@gmail.com> Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
* Read preset files with suffix .avpresetReinhard Tartler2012-03-18
| | | | | | The preset files have been renamed some time ago. CC: libav-stable@libav.org
* prores: allow user to set fixed quantiserKostya Shishkov2012-03-18
|
* lavf: remove some disabled code.Anton Khirnov2012-03-17
|
* lavf: only set average frame rate for video.Anton Khirnov2012-03-17
|
* lavf: remove a pointless check.Anton Khirnov2012-03-17
| | | | Timebase is already checked in avpriv_set_pts_info().
* avcodec: add XBM encoderPaul B Mahol2012-03-17
| | | | | Signed-off-by: Paul B Mahol <onemda@gmail.com> Signed-off-by: Justin Ruggles <justin.ruggles@gmail.com>
* resample: allocate a large enough output bufferJustin Ruggles2012-03-17
| | | | | Fixes invalid writes and crashes when doing conversions such as stereo to 5.1 channels or sample rate conversion on 5.1 channels.
* fate: fix enc_dec_pcm tests with remote targetMans Rullgard2012-03-17
| | | | Signed-off-by: Mans Rullgard <mans@mansr.com>
* wmaenc: remove bit-exact hackJustin Ruggles2012-03-17
| | | | | | It may have improved cross-platform stability, but wasn't the only place in the encoder with bitexact issues. It is no longer needed because we have FATE tests for float encoders using fuzzy comparison.
* FATE: remove WMA acodec testsJustin Ruggles2012-03-17
|
* FATE: add WMAv1 and WMAv2 encode/decode tests with fuzzy comparisonJustin Ruggles2012-03-17
|
* FATE: add AC-3 and E-AC-3 encode/decode tests with fuzzy comparisonJustin Ruggles2012-03-17
|
* qtrle: Use bytestream2 functions to prevent buffer overreads.Aneesh Dogra2012-03-16
| | | | Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
* vqavideo: check malloc return valuesPaul B Mahol2012-03-16
| | | | | Signed-off-by: Paul B Mahol <onemda@gmail.com> Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
* x11grab: fix a memory leak exposed by valgrindAntonio Ospite2012-03-16
| | | | | | | | | | | | | | | | | | | | | | | | | When using "-f x11grab -i :0.0" valgrind reports a definitely lost memory block with this message: ==31544== 5 bytes in 1 blocks are definitely lost in loss record 1 of 2 ==31544== at 0x4026E68: memalign (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so) ==31544== by 0x4026F17: posix_memalign (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so) ==31544== by 0x60D399A: av_malloc (in /usr/lib/x86_64-linux-gnu/libavutil.so.51.22.1) ==31544== by 0x60D3A70: av_strdup (in /usr/lib/x86_64-linux-gnu/libavutil.so.51.22.1) ==31544== by 0x4A2BE58: ??? (in /usr/lib/x86_64-linux-gnu/libavdevice.so.53.2.0) ==31544== by 0x506D29E: avformat_open_input (in /usr/lib/x86_64-linux-gnu/libavformat.so.53.21.0) ==31544== by 0x400A80: main (in /home/ao2/WIP/am7xxx-play/tests/a.out) The 5 bytes lost are the ones from param = av_strdup(":0.0"), so let's free param in the exit path. Also check the av_strdup() return value. Note: calling av_free(param) even when av_strdup() fails and param is NULL is OK and keeps the code simpler without adding another label to skip av_free(). Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
* threads: fix old frames returned after avcodec_flush_buffers()Uoti Urpala2012-03-16
| | | | | | | | | | Calling avcodec_flush_buffers() and then avcodec_decode_video2() with a 0-sized packet (to get remaining buffered frames) could incorrectly return an old frame from before the avcodec_flush_buffers() call. Add a loop in ff_thread_flush() to zero the got_frame field of each thread to ensure the old frames will not be returned. Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
* MPV: always mark dummy frames as referenceJanne Grunau2012-03-16
| | | | | | | If the dummy frame are not created from a reference frame they could be deleted untimely resulting in multithreaded decoder waiting on the current frame to finish. Noticed by Ronald S. Bultje in the RV34 decoder with a broken file.
* h264: fix deadlocks on incomplete reference frame decoding.Ronald S. Bultje2012-03-16
| | | | | | | | | | | | | | | | If decoding a second complementary field, and the first was decoded in our thread, mark decoding of that field as complete. If decoding fails, mark the decoded field/frame as complete. Do not allow switching between field modes or field/frame mode between slices within the same field/frame. Ensure that two subsequent fields cover top/bottom (rather than top/frame, bottom/frame or such nonsense situations). Fixes various deadlocks when decoding samples with errors in reference frames. Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind CC: libav-stable@libav.org
* mpeg4: report frame decoding completion at ff_MPV_frame_end().Ronald S. Bultje2012-03-16
| | | | | | | Prevents hangs on corrupt input. Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind CC: libav-stable@libav.org
* mimic: don't use self as reference, and report completion at end of decode().Ronald S. Bultje2012-03-16
| | | | | | | Fixes hangs on corrupt samples that reference self-frames. Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind CC: libav-stable@libav.org
* h264: K&R formatting cosmeticsDiego Biurrun2012-03-16
| | | | Also remove some disabled code and fix a few comment typos.
* s3tc.h: Add missing #include to fix standalone header compilation.Diego Biurrun2012-03-16
|
* FATE: add capability for audio encode/decode tests with fuzzy psnr comparisonJustin Ruggles2012-03-15
| | | | | | This allows for testing floating-point audio encoders across different platforms where exact comparisons are unreliable due to float rounding differences.
* FATE: allow a tolerance in the size comparison in do_tiny_psnr()Justin Ruggles2012-03-15
| | | | | This will allow for comparing decoded output to the original source when the decoded size is not exactly the same as the original size.
* FATE: use absolute difference from a target value in do_tiny_psnr()Justin Ruggles2012-03-15
| | | | | This will allow comparison to original pre-encoded content instead of comparing to expected decoded output.
* FATE: allow tests to set CMP_SHIFT to pass to tiny_psnrJustin Ruggles2012-03-15
| | | | | This will allow adjusting for any encoder or decoder delay when doing comparisons.
* FATE: use $fuzz directly in do_tiny_psnr() instead of passing it aroundJustin Ruggles2012-03-15
|
* dxa: remove useless codePaul B Mahol2012-03-15
| | | | | Signed-off-by: Paul B Mahol <onemda@gmail.com> Signed-off-by: Anton Khirnov <anton@khirnov.net>
* lavf: don't select an attached picture as default stream for seeking.Anton Khirnov2012-03-15
|
* avconv: remove pointless checks.Anton Khirnov2012-03-15
| | | | | OutputStream.picref is guaranteed to be non-NULL if get_filtered_video_frame() succeeds.
* avconv: check for get_filtered_frame() failure.Anton Khirnov2012-03-15
|
* avconv: remove a pointless check.Anton Khirnov2012-03-15
| | | | | output_video_filter is always guaranteed to be set and is in fact dereferenced right above the check.
* swscale: convert hscale() to use named arguments.Ronald S. Bultje2012-03-14
|
* x86inc: add *mp named argument support to DEFINE_ARGS.Ronald S. Bultje2012-03-14
|
* swscale: convert hscale to cpuflags().Ronald S. Bultje2012-03-14
|
* h264: stricter reference limit enforcement.Ronald S. Bultje2012-03-14
| | | | | | | | | Progressive images can have only 16 references, error out if there are more, since the data is almost certainly corrupt, and the invalid value will lead to random crashes or invalid writes later on. Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind CC: libav-stable@libav.org
* h264: increase reference poc list from 16 to 32.Ronald S. Bultje2012-03-14
| | | | | | | | Interlaced images can have 32 references (16 per field), so limiting the array size to 16 leads to invalid writes. Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind CC: libav-stable@libav.org
* xa_adpcm: limit filter to prevent xa_adpcm_table[] array bounds overruns.Ronald S. Bultje2012-03-14
| | | | | Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind CC: libav-stable@libav.org
* snow: check reference frame indices.Michael Niedermayer2012-03-14
| | | | | | | | Fixes NULL ptr dereference Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind CC: libav-stable@libav.org Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
* snow: reject unsupported chroma shifts.Michael Niedermayer2012-03-14
| | | | | | Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind CC: libav-stable@libav.org Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>