aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* | | aacdec: prevent channels from exceeding MAX_CHANNELS.Michael Niedermayer2012-03-231-0/+4
| | | | | | | | | | | | | | | Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | | matroskadec: fix strcmp(NULL)Michael Niedermayer2012-03-231-1/+1
| | | | | | | | | | | | | | | Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | | mov: fix global unicode convertion array overflow.Michael Niedermayer2012-03-231-1/+1
| | | | | | | | | | | | | | | Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | | mmdemux: dont set pkt->size to an invalid value.Michael Niedermayer2012-03-231-1/+0
| | | | | | | | | | | | | | | Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | | eatqi: replace break by goto.Michael Niedermayer2012-03-231-1/+2
| | | | | | | | | | | | | | | | | | | | | This fixes some heap overread. Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | | aacdec: reset max_sfb on invalid data.Michael Niedermayer2012-03-221-3/+6
| | | | | | | | | | | | | | | | | | | | | Fixes global out of array read. Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | | vqavideodev: Check image dimensionsMichael Niedermayer2012-03-221-0/+5
| | | | | | | | | | | | | | | | | | | | | Fixes out of heap array read Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | | Merge remote-tracking branch 'qatar/master'Michael Niedermayer2012-03-227-28/+73
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * qatar/master: xwma: Validate channels and bits_per_coded_sample. mov: Do not read past the end of the ctts_data table. mov: Add missing terminator to mov_ch_layout_map_1ch. asf: reset side data elements on packet copy. wmavoice: fix stack overread. wmalossless: error out if a subframe is not used by any channel. vqa: check palette chunk size before reading data. wmalossless: reset sample pointer for each subframe. wmalossless: error out on invalid values for order. Conflicts: libavcodec/vqavideo.c Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * | xwma: Validate channels and bits_per_coded_sample.Alex Converse2012-03-221-0/+11
| | | | | | | | | | | | | | | | | | | | | This prevents a SIGFPE later on. Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind CC: libav-stable@libav.org
| * | mov: Do not read past the end of the ctts_data table.Alex Converse2012-03-221-1/+1
| | | | | | | | | | | | | | | Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind CC: libav-stable@libav.org
| * | mov: Add missing terminator to mov_ch_layout_map_1ch.Alex Converse2012-03-221-0/+1
| | | | | | | | | | | | | | | Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind CC: Libav-stable@libav.org
| * | asf: reset side data elements on packet copy.Ronald S. Bultje2012-03-221-0/+2
| | | | | | | | | | | | | | | | | | | | | Prevents crash (double free) when free()ing the original packet. Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind CC: libav-stable@libav.org
| * | wmavoice: fix stack overread.Ronald S. Bultje2012-03-221-2/+3
| | | | | | | | | | | | | | | Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind CC: libav-stable@libav.org
| * | wmalossless: error out if a subframe is not used by any channel.Ronald S. Bultje2012-03-221-3/+10
| | | | | | | | | | | | | | | | | | | | | Prevents infinite loop because min_channel_len never increments. Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind CC: libav-stable@libav.org
| * | vqa: check palette chunk size before reading data.Ronald S. Bultje2012-03-221-1/+1
| | | | | | | | | | | | | | | | | | | | | Prevents overreads beyond buffer boundaries. Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind CC: libav-stable@libav.org
| * | wmalossless: reset sample pointer for each subframe.Ronald S. Bultje2012-03-221-12/+19
| | | | | | | | | | | | | | | | | | | | | Prevents overwrites when some subframes only encode some channels. Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind CC: libav-stable@libav.org
| * | wmalossless: error out on invalid values for order.Ronald S. Bultje2012-03-221-9/+25
| | | | | | | | | | | | | | | Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind CC: libav-stable@libav.org
* | | indeo4: check motion vetors.Michael Niedermayer2012-03-221-1/+10
| | | | | | | | | | | | | | | | | | | | | Fixes out of heap array read. Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | | pngenc: make max_packet_size 64bit check check it.Michael Niedermayer2012-03-221-2/+5
| | | | | | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | | png: make ff_png_pass_mask local to pngdec.Clément Bœsch2012-03-223-9/+6
| | |
* | | Fix libgsm.c compilation after typo in 67b8c8.Carl Eugen Hoyos2012-03-221-1/+1
| | |
* | | Merge remote-tracking branch 'qatar/master'Michael Niedermayer2012-03-224-29/+37
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * qatar/master: FATE: Add ZeroCodec test oggparseogm: fix order of arguments of avpriv_set_pts_info(). pngenc: better upper bound for encoded frame size. aiffdec: set block_duration to 1 for PCM codecs that are supported in AIFF-C aiffdec: factor out handling of integer PCM for AIFF-C and plain AIFF aiffdec: use av_get_audio_frame_duration() to set block_duration for AIFF-C aiffdec: do not set bit rate if block duration is unknown wmall: output packet only if we have decoded some samples Conflicts: libavcodec/pngenc.c tests/fate/lossless-video.mak Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * | FATE: Add ZeroCodec testDerek Buitenhuis2012-03-222-0/+42
| | | | | | | | | | | | | | | Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com> Signed-off-by: Anton Khirnov <anton@khirnov.net>
| * | oggparseogm: fix order of arguments of avpriv_set_pts_info().Michael Niedermayer2012-03-221-1/+1
| | | | | | | | | | | | Signed-off-by: Anton Khirnov <anton@khirnov.net>
| * | pngenc: better upper bound for encoded frame size.Anton Khirnov2012-03-221-13/+17
| | | | | | | | | | | | | | | | | | Fixes encoding very large pictures. Thanks to Костя for providing the formula.
| * | aiffdec: set block_duration to 1 for PCM codecs that are supported in AIFF-CJustin Ruggles2012-03-221-0/+7
| | |
| * | aiffdec: factor out handling of integer PCM for AIFF-C and plain AIFFJustin Ruggles2012-03-221-13/+8
| | |
| * | aiffdec: use av_get_audio_frame_duration() to set block_duration for AIFF-CJustin Ruggles2012-03-221-5/+4
| | |
| * | aiffdec: do not set bit rate if block duration is unknownJustin Ruggles2012-03-221-2/+4
| | | | | | | | | | | | CC: libav-stable@libav.org
| * | wmall: output packet only if we have decoded some samplesKostya Shishkov2012-03-221-2/+2
| | | | | | | | | | | | | | | Also set CODEC_CAP_DELAY to indicate that decoder may still have some undecoded data left in internal buffer.
* | | dcaenc: switch to encode2()Paul B Mahol2012-03-221-7/+14
| | | | | | | | | | | | | | | Signed-off-by: Paul B Mahol <onemda@gmail.com> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | | Support dropping audio dts/pts via -async -1.Reimar Döffinger2012-03-221-4/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | Allows working around issue #605. Note: as a side effect this fixes that -vsync drop as far as I could tell would not drop pts/dts values when duplicating frames or when flushing encoder delay. Signed-off-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de>
* | | libutvideoenc: switch to ff_alloc_packet2().Michael Niedermayer2012-03-221-2/+1
| | | | | | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | | lavc: limit realloc() on encoding to the libav compatibility API.Michael Niedermayer2012-03-221-2/+6
| | | | | | | | | | | | | | | | | | Neither the old nor new need it. Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | | VC1: Fix skiploopfilter=all.Reimar Döffinger2012-03-221-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | It is currently only handled in the parser code for WMV/ASF style header, but not the one used in the bytestream format used when muxed into MPEG-TS as on e.g. BluRay. Signed-off-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de>
* | | Replace SSE2 instruction in scalarproduct_float_sse() by SSE equivalent.ami_stuff2012-03-221-1/+1
| | | | | | | | | | | | | | | | | | Fixes an AAC decoding issue with the sample from ticket #213 on machines with SSE but without SSE2. Based on 89411a by Reimar.
* | | lavc: Redesign the internal encoding API.Michael Niedermayer2012-03-222-6/+60
| | | | | | | | | | | | | | | | | | | | | The new API allows (optionally and on by default) using a internal buffer to encode, avoiding the need to allocate large buffers or risking failure on too small buffers. Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | | avcodec_encode_audio2: use ff_alloc_packet2()Michael Niedermayer2012-03-221-1/+1
| | | | | | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | | zmbvenc: switch to ff_alloc_packet2().Michael Niedermayer2012-03-221-2/+1
| | | | | | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | | yuv4enc: switch to ff_alloc_packet2().Michael Niedermayer2012-03-221-2/+1
| | | | | | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | | y41penc: switch to ff_alloc_packet2().Michael Niedermayer2012-03-221-2/+1
| | | | | | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | | xwdenc: switch to ff_alloc_packet2().Michael Niedermayer2012-03-221-2/+1
| | | | | | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | | xbmenc: switch to ff_alloc_packet2().Michael Niedermayer2012-03-221-2/+1
| | | | | | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | | wmaenc: switch to ff_alloc_packet2().Michael Niedermayer2012-03-221-2/+1
| | | | | | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | | vorbisenc: switch to ff_alloc_packet2().Michael Niedermayer2012-03-221-2/+1
| | | | | | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | | v410enc: switch to ff_alloc_packet2().Michael Niedermayer2012-03-221-2/+1
| | | | | | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | | v408enc: switch to ff_alloc_packet2().Michael Niedermayer2012-03-221-2/+1
| | | | | | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | | v308enc: switch to ff_alloc_packet2().Michael Niedermayer2012-03-221-2/+1
| | | | | | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | | v210enc: switch to ff_alloc_packet2().Michael Niedermayer2012-03-221-2/+1
| | | | | | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | | tiffenc: switch to ff_alloc_packet2().Michael Niedermayer2012-03-221-3/+2
| | | | | | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>