aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* ffplay: reset audio_pkt_temp when opening audioMarton Balint2012-03-191-0/+1
| | | | | | | Otherwise we may use the remaining data of the last packet from the previous audio stream. Fixes bug #951. Signed-off-by: Marton Balint <cus@passwd.hu>
* mp3_probe: consider id3 tags to be low scoring mp3.Michael Niedermayer2012-03-191-0/+2
| | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* lavfi/aspect: fail with AVERROR(EINVAL) in case of invalid specified aspectStefano Sabatini2012-03-191-3/+2
| | | | | | | Previously it was returning 0 in case the aspect was parsable but invalid. X-ColaCount: +10*PHIl
* lavc/sunrastenc: consider cases with linesize < 0Stefano Sabatini2012-03-191-9/+8
| | | | | Make sunrast_image_write_image() deal with cases when linesize is < 0. Fix trac ticket #1077.
* gxf: return AVERROR_EOF instead of AVERROR(EIO) at end of gxf_packet functionMatthieu Bouron2012-03-191-1/+1
| | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* Tell users about supported audio samplerates in mmf.Carl Eugen Hoyos2012-03-191-1/+1
|
* Match documentation for transparency in BGR32 iff images.Carl Eugen Hoyos2012-03-191-0/+5
|
* h264: print the pps_id when its invalid.Michael Niedermayer2012-03-191-1/+1
| | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* ZeroCodec DecoderDerek Buitenhuis2012-03-199-0/+190
| | | | | | | | An obscure Japanese lossless video codec, originally intended for use with a remote desktop application. Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* Merge remote-tracking branch 'qatar/master'Michael Niedermayer2012-03-1820-392/+464
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * qatar/master: fate: make compare() function compatible with POSIX bc Update Janne's email address. APIchanges: Replace Subversion revision numbers by Git hashes. bytestream: Eliminate one level of pointless macro indirection. xwd: convert to bytestream2. vqavideo: port to bytestream2 API Read preset files with suffix .avpreset prores: allow user to set fixed quantiser lavf: remove some disabled code. lavf: only set average frame rate for video. lavf: remove a pointless check. avcodec: add XBM encoder Conflicts: Changelog cmdutils.c cmdutils.h doc/APIchanges libavcodec/Makefile libavcodec/avcodec.h libavcodec/version.h libavcodec/vqavideo.c libavformat/img2enc.c libavformat/utils.c Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * fate: make compare() function compatible with POSIX bcMans Rullgard2012-03-181-2/+1
| | | | | | | | Signed-off-by: Mans Rullgard <mans@mansr.com>
| * Update Janne's email address.Diego Biurrun2012-03-181-1/+1
| |
| * APIchanges: Replace Subversion revision numbers by Git hashes.Diego Biurrun2012-03-181-147/+147
| |
| * bytestream: Eliminate one level of pointless macro indirection.Diego Biurrun2012-03-181-19/+11
| |
| * xwd: convert to bytestream2.Ronald S. Bultje2012-03-181-32/+34
| |
| * vqavideo: port to bytestream2 APIPaul B Mahol2012-03-181-89/+97
| | | | | | | | | | | | | | 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-182-4/+4
| | | | | | | | | | | | The preset files have been renamed some time ago. CC: libav-stable@libav.org
| * prores: allow user to set fixed quantiserKostya Shishkov2012-03-181-44/+70
| |
| * lavf: remove some disabled code.Anton Khirnov2012-03-171-36/+0
| |
| * lavf: only set average frame rate for video.Anton Khirnov2012-03-171-4/+4
| |
| * lavf: remove a pointless check.Anton Khirnov2012-03-171-1/+1
| | | | | | | | Timebase is already checked in avpriv_set_pts_info().
| * avcodec: add XBM encoderPaul B Mahol2012-03-179-2/+95
| | | | | | | | | | Signed-off-by: Paul B Mahol <onemda@gmail.com> Signed-off-by: Justin Ruggles <justin.ruggles@gmail.com>
* | build_sys: zmbv test depends on zlibMichael Niedermayer2012-03-181-0/+1
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | build_sys: zlib_test depends on zlibMichael Niedermayer2012-03-181-0/+1
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | build_sys: mpng_test depends on zlibMichael Niedermayer2012-03-181-0/+1
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | build_sys: flashsv2_test depends on zlibMichael Niedermayer2012-03-181-0/+1
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | build_sys: Add dependencies for pp testing.Michael Niedermayer2012-03-181-0/+6
| | | | | | | | | | | | Should fix mp=pp test failure by not running it without --enable-gpl Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | lavfi/movie: add loop parameterWilliam Yu2012-03-183-6/+31
| | | | | | | | | | Signed-off-by: William Yu <genwillyu@gmail.com> Signed-off-by: Stefano Sabatini <stefasab@gmail.com>
* | lavc/jpeglsenc: fix allocation in case of negative linesize, and add malloc ↵Stefano Sabatini2012-03-181-1/+3
| | | | | | | | | | | | check Fix crash with negative linesizes, fix trac ticket #1078.
* | pgmyuvenc: abort encoding if width is not evenPaul B Mahol2012-03-181-0/+4
| | | | | | | | | | Signed-off-by: Paul B Mahol <onemda@gmail.com> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | mxfdec: Let pkt->pts = mxf->current_edit_unit if intra-onlyTomas Härdin2012-03-181-0/+10
| | | | | | | | | | | | | | We can't do this in general since we could be reading a file with B-frames while lacking an index. Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | indeo4: Skip null frames.Michael Niedermayer2012-03-181-0/+3
| | | | | | | | | | | | Fixes crashes from Ticket845 Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | jpg: fix colors for sequential RGBCarl Eugen Hoyos2012-03-181-0/+2
| | | | | | | | | | | | Fixes Ticket850 Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | vorbisenc: set quality to a reasonable default.Michael Niedermayer2012-03-181-1/+1
| | | | | | | | | | | | Fixed Ticket847 Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | lavfi/scale: document behavior with regards to the output sample aspect ratioStefano Sabatini2012-03-182-4/+9
| | | | | | | | Also show the input and output sample aspect ratio in the log.
* | dv: Fix streamcopy input.Michael Niedermayer2012-03-181-2/+11
| | | | | | | | | | | | Fixes Ticket1042 Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | x11grab: fix compilationMichael Niedermayer2012-03-181-1/+1
| | | | | | | | | | Found-by: ubitux Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | pthread: Fix mixing of declarations and statements.Michael Niedermayer2012-03-171-1/+2
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | Merge remote-tracking branch 'qatar/master'Michael Niedermayer2012-03-1717-276/+260
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * qatar/master: resample: allocate a large enough output buffer fate: fix enc_dec_pcm tests with remote target wmaenc: remove bit-exact hack FATE: remove WMA acodec tests FATE: add WMAv1 and WMAv2 encode/decode tests with fuzzy comparison FATE: add AC-3 and E-AC-3 encode/decode tests with fuzzy comparison qtrle: Use bytestream2 functions to prevent buffer overreads. vqavideo: check malloc return values x11grab: fix a memory leak exposed by valgrind threads: fix old frames returned after avcodec_flush_buffers() MPV: always mark dummy frames as reference h264: fix deadlocks on incomplete reference frame decoding. mpeg4: report frame decoding completion at ff_MPV_frame_end(). mimic: don't use self as reference, and report completion at end of decode(). Conflicts: libavcodec/h264.c libavcodec/qtrle.c libavcodec/resample.c libavcodec/vqavideo.c libavdevice/x11grab.c tests/ref/seek/wmav1_asf tests/ref/seek/wmav2_asf Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * resample: allocate a large enough output bufferJustin Ruggles2012-03-171-2/+4
| | | | | | | | | | 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-171-2/+2
| | | | | | | | Signed-off-by: Mans Rullgard <mans@mansr.com>
| * wmaenc: remove bit-exact hackJustin Ruggles2012-03-171-4/+0
| | | | | | | | | | | | 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-175-125/+0
| |
| * FATE: add WMAv1 and WMAv2 encode/decode tests with fuzzy comparisonJustin Ruggles2012-03-171-0/+19
| |
| * FATE: add AC-3 and E-AC-3 encode/decode tests with fuzzy comparisonJustin Ruggles2012-03-171-0/+16
| |
| * qtrle: Use bytestream2 functions to prevent buffer overreads.Aneesh Dogra2012-03-161-113/+74
| | | | | | | | Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
| * vqavideo: check malloc return valuesPaul B Mahol2012-03-161-8/+19
| | | | | | | | | | 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-161-0/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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-161-0/+3
| | | | | | | | | | | | | | | | | | | | 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-161-0/+2
| | | | | | | | | | | | | | 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.