aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* | | lavfi: add blackdetect filterStefano Sabatini2012-03-046-2/+268
| | | | | | | | | | | | Address trac ticket #901.
* | | mmvideo: fix overreads of the input buffer.Michael Niedermayer2012-03-041-4/+16
| | | | | | | | | | | | | | | Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | | dsicinvideo: validate buffer offset before copying pixels.Ronald S. Bultje2012-03-041-15/+23
| | | | | | | | | | | | | | | | | | | | | Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind CC: libav-stable-LOOeJiBropLYtjvyW6yDsg@public.gmane.org Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | | truemotion2: check motion vectors for validityMichael Niedermayer2012-03-041-0/+5
| | | | | | | | | | | | | | | | | | | | | Fixes out of array read Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | | pngdec: validate length.Michael Niedermayer2012-03-041-1/+1
| | | | | | | | | | | | | | | | | | | | | Fixes out of array reading. Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | | lavf: Do not compute the packet duration based on the bitrate if the ↵Michael Niedermayer2012-03-042-7/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | frame_size can be determined. This fixes issues when the bitrate is variable or inaccurate but the frame size has not been determined yet. Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | | lavf: factor out determinable_frame_size()Michael Niedermayer2012-03-041-6/+12
| | | | | | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | | Merge remote-tracking branch 'qatar/master'Michael Niedermayer2012-03-0424-83/+473
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * qatar/master: tiertexseq: set correct block_align for audio tiertexseq: set audio stream start time to 0 voc/avs: Do not change the sample rate mid-stream. segafilm: use the sample rate as the time base for audio streams ea: fix audio pts psx-str: fix audio pts vqf: set packet duration tta demuxer: set packet duration mpegaudio_parser: do not ignore information from the first parsed frame mpegaudio_parser: be less picky about the start position thp: set audio packet durations avcodec: add a Vorbis parser to get packet duration vorbisdec: read the previous window flag for long windows lavc: free the output packet when encoding failed or produced no output. lavc: preserve avpkt->destruct in ff_alloc_packet(). lavc: clarify the meaning of AVCodecContext.frame_number. mpegts: Pad the packet buffer in handle_packet(). mpegts: Do not call read_sl_header() when no bytes remain in the buffer. Conflicts: libavcodec/mpegaudio_parser.c libavcodec/version.h libavformat/mpegts.c tests/ref/fate/pva-demux Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * | tiertexseq: set correct block_align for audioJustin Ruggles2012-03-031-1/+1
| | |
| * | tiertexseq: set audio stream start time to 0Justin Ruggles2012-03-032-21/+22
| | | | | | | | | | | | | | | Update FATE test to reflect delayed video due to the file having audio-only frames prior to the first frame with video.
| * | voc/avs: Do not change the sample rate mid-stream.Justin Ruggles2012-03-032-16/+24
| | | | | | | | | | | | | | | Also, set the time base based on the sample rate. lavf-voc seek test updated to reflect slightly different seek points.
| * | segafilm: use the sample rate as the time base for audio streamsJustin Ruggles2012-03-031-4/+7
| | |
| * | ea: fix audio ptsJustin Ruggles2012-03-031-12/+13
| | | | | | | | | | | | | | | | | | | | | The time base is 1 / sample_rate, not 90000. Several more codecs encode the sample count in the first 4 bytes of the chunk, so we set the durations accordingly. Also, we can set start_time and packet duration instead of keeping track of the sample count in the demuxer.
| * | psx-str: fix audio ptsJustin Ruggles2012-03-031-1/+4
| | | | | | | | | | | | Each packet has 18 sectors with 224/channels samples in each sector.
| * | vqf: set packet durationJustin Ruggles2012-03-032-2/+3
| | | | | | | | | | | | | | | | | | Fixes timestamp calculation. The FATE reference is updated because timestamp calculations are now more accurate. Previous timestamps were based on average bit rate.
| * | tta demuxer: set packet durationJustin Ruggles2012-03-031-4/+12
| | |
| * | mpegaudio_parser: do not ignore information from the first parsed frameJustin Ruggles2012-03-034-19/+15
| | | | | | | | | | | | Update some demuxing and seeking fate tests.
| * | mpegaudio_parser: be less picky about the start positionMichael Niedermayer2012-03-031-1/+2
| | | | | | | | | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at> Signed-off-by: Justin Ruggles <justin.ruggles@gmail.com>
| * | thp: set audio packet durationsJustin Ruggles2012-03-031-0/+3
| | |
| * | avcodec: add a Vorbis parser to get packet durationJustin Ruggles2012-03-039-7/+346
| | | | | | | | | | | | This also allows for removing some of the Vorbis-related hacks.
| * | vorbisdec: read the previous window flag for long windowsJustin Ruggles2012-03-031-2/+4
| | | | | | | | | | | | | | | | | | When reading sequentially, we are using the actual flag from the previous frame, but when seeking we do not know what the previous window flag was, so we need to read it from the bitstream.
| * | lavc: free the output packet when encoding failed or produced no output.Anton Khirnov2012-03-032-0/+16
| | |
| * | lavc: preserve avpkt->destruct in ff_alloc_packet().Anton Khirnov2012-03-031-3/+2
| | | | | | | | | | | | | | | Also, don't bother with saving/restoring data, av_init_packet doesn't touch it.
| * | lavc: clarify the meaning of AVCodecContext.frame_number.Anton Khirnov2012-03-031-1/+11
| | |
| * | mpegts: Pad the packet buffer in handle_packet().Alex Converse2012-03-021-1/+2
| | | | | | | | | | | | | | | | | | | | | This allows it to be used with get_bits without the thread of overreads. Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind CC: libav-stable@libav.org
| * | mpegts: Do not call read_sl_header() when no bytes remain in the buffer.Alex Converse2012-03-021-1/+1
| | | | | | | | | | | | | | | Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind CC: libav-stable@libav.org
* | | Support RGBA64 as input colour space.Carl Eugen Hoyos2012-03-042-2/+99
| | | | | | | | | | | | | | | Mostly fixes ticket #503, opaque still overflows for RGBA64 -> RGBA conversion.
* | | ffm options should also set discard automatically.Rick van der Zwet2012-03-041-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | commit 13f6917ca91dfdc0fd785235b2dae891a9604859 handles discards automatically, but the ffm discard options are not fully parsed. Causing the input streams not to be used, so no stream towards the ffserver after the initial probing. Signed-off-by: Rick van der Zwet <info@rickvanderzwet.nl> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | | wc4: fix out of chroma LUT readsMichael Niedermayer2012-03-041-0/+6
| | | | | | | | | | | | | | | Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | | pcm-mpeg: Check for valid bps.Michael Niedermayer2012-03-031-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | The code only supports 16 and 24 bps currently, 20bps causes out of array reads. Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | | mpegts: fix stack array overread in read_sl_header()Michael Niedermayer2012-03-031-1/+1
| | | | | | | | | | | | | | | Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | | mpegts: prevent get_bits64() from reading nonsense at the end.Michael Niedermayer2012-03-031-0/+3
| | | | | | | | | | | | | | | Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | | cook: check that category is smaller than 8Michael Niedermayer2012-03-031-1/+5
| | | | | | | | | | | | | | | | | | | | | | | | This fixes some out of global array accesses of dither_tab. Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind Reviewed-by: Benjamin Larsson <benjamin@southpole.se> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | | mpeg-ts: fix handling of size=0 SL headers.Michael Niedermayer2012-03-031-0/+6
| | | | | | | | | | | | | | | Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | | MAINTAINERS: add 0.10 to the releases, seems ive forgotten it.Michael Niedermayer2012-03-031-0/+1
| | | | | | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | | lavc: unify similar code merged from both branches.Nicolas George2012-03-031-8/+3
| | |
* | | vsrc_testsrc: free option values.Nicolas George2012-03-031-0/+3
| | |
* | | vsrc_life: free option values.Nicolas George2012-03-031-0/+4
| | |
* | | vf_fade: free type when overwriting it.Nicolas George2012-03-031-0/+1
| | |
* | | arm: Fix 10l typoMichael Niedermayer2012-03-031-4/+4
| | | | | | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | | bluray protocolPetri Hintukainen2012-03-037-0/+273
| | | | | | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | | kvmc: Fix out of reference frame reads.Michael Niedermayer2012-03-031-0/+16
| | | | | | | | | | | | | | | Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | | qpeg: fix overreads.Michael Niedermayer2012-03-031-6/+9
| | | | | | | | | | | | | | | | | | | | | | | | qpeg should probably be changed to use the checked bytestream reader. But for now this fixes it and is significantly less work. Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | | qpeg: Fix out of array writes.Michael Niedermayer2012-03-031-0/+4
| | | | | | | | | | | | | | | Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | | srtdec: fix a format string vulnerability.Fabian Greffrath2012-03-031-2/+2
| | | | | | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | | Remove duplicate initializers for VDA_VLD and GBR24P.Dale Curtis2012-03-031-16/+0
| | | | | | | | | | | | | | | | | | | | | Noticed by the Chromium Mac clang build, http://crbug.com/116599 Signed-off-by: Dale Curtis <dalecurtis@chromium.org> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | | Merge remote-tracking branch 'qatar/master'Michael Niedermayer2012-03-0380-2482/+2375
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * qatar/master: (29 commits) amrwb: remove duplicate arguments from extrapolate_isf(). amrwb: error out early if mode is invalid. h264: change underread for 10bit QPEL to overread. matroska: check buffer size for RM-style byte reordering. vp8: disable mmx functions with sse/sse2 counterparts on x86-64. vp8: change int stride to ptrdiff_t stride. wma: fix invalid buffer size assumptions causing random overreads. Windows Media Audio Lossless decoder rv10/20: Fix slice overflow with checked bitstream reader. h263dec: Disallow width/height changing with frame threads. rv10/20: Fix a buffer overread caused by losing track of the remaining buffer size. rmdec: Honor .RMF tag size rather than assuming 18. g722: Fix the QMF scaling r3d: don't set codec timebase. electronicarts: set timebase for tgv video. electronicarts: parse the framerate for cmv video. ogg: don't set codec timebase electronicarts: don't set codec timebase avs: don't set codec timebase wavpack: Fix an integer overflow ... Conflicts: libavcodec/arm/vp8dsp_init_arm.c libavcodec/fraps.c libavcodec/h264.c libavcodec/mpeg4videodec.c libavcodec/mpegvideo.c libavcodec/msmpeg4.c libavcodec/pnmdec.c libavcodec/qpeg.c libavcodec/rawenc.c libavcodec/ulti.c libavcodec/vcr1.c libavcodec/version.h libavcodec/wmalosslessdec.c libavformat/electronicarts.c libswscale/ppc/yuv2rgb_altivec.c tests/ref/acodec/g722 tests/ref/fate/ea-cmv Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * | amrwb: remove duplicate arguments from extrapolate_isf().Ronald S. Bultje2012-03-021-13/+12
| | | | | | | | | | | | | | | | | | | | | | | | Prevents warnings because the dst and src overlap (are the same) in the memcpy() inside the function. Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind CC: libav-stable@libav.org
| * | amrwb: error out early if mode is invalid.Ronald S. Bultje2012-03-021-4/+8
| | | | | | | | | | | | | | | | | | | | | | | | Prevents using the invalid mode as an index in a static array, which would generate invalid reads. Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind CC: libav-stable@libav.org
| * | h264: change underread for 10bit QPEL to overread.Ronald S. Bultje2012-03-021-1/+1
| | | | | | | | | | | | | | | This prevents us from reading before the start of the buffer, and thus prevents crashes resulting from this behaviour. Fixes bug 237.