aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* lavc/utils: Make second parameter to apply_param_change() const.Carl Eugen Hoyos2017-02-241-1/+1
| | | | | Fixes a compilation warning: passing argument 2 of ‘apply_param_change’ discards ‘const’ qualifier from pointer target type
* opus_pvq: remove unneeded assertRostislav Pehlivanov2017-02-241-1/+0
| | | | | | | | | | Since the PVQ search has been well fuzzed and is guaranteed to never break SUM(abs(y[])) == K, the assert is no longer needed. Also the assert only prevented coding the wrong vector index but didn't prevent crashes during searching for it, which made the assert rather informational than practical. Signed-off-by: Rostislav Pehlivanov <atomnuker@gmail.com>
* opus_pvq: improve PVQ search for low KsRostislav Pehlivanov2017-02-241-2/+5
| | | | | | | | | Since the probelm mentioned only happened when the phase was negative (e.g. the sum had to be decreased), only discarding dimensions with a zero pulse in that case restored the search's previously low distortion at low Ks when the phase is never negative. Signed-off-by: Rostislav Pehlivanov <atomnuker@gmail.com>
* avcodec/ituh263dec: Fix runtime error: left shift of 1342177279 by 1 places ↵Michael Niedermayer2017-02-241-0/+4
| | | | | | | | | | | cannot be represented in type 'int' Fixes: 659/clusterfuzz-testcase-5866673603084288 Huge DMV could be created by an encoder ignoring the spec Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/targets/ffmpeg Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* avcodec/jpeglsdec: check shift for values that cause overflow laterMichael Niedermayer2017-02-241-0/+5
| | | | | | Fixes: 657/clusterfuzz-testcase-6674741433729024 Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/targets/ffmpeg Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* avcodec/mpeg4videodec: Check the other 3 sprite points for intermediate ↵Michael Niedermayer2017-02-241-0/+7
| | | | | | | | | | | | | overflows This is not necessarily specific to fuzzed files Fixes: Multiple integer overflows Fixes: 656/clusterfuzz-testcase-6463814516080640 Fixes: 658/clusterfuzz-testcase-6691260146384896 Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/targets/ffmpeg Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* lavfi: Add VAAPI deinterlacerMark Thompson2017-02-235-1/+638
| | | | | (cherry picked from commit ade370a4d7eab1866b6023c91c135d27c77ca465) (cherry picked from commit 2d518aec4c781316092be65893b47922c8f71b67)
* avcodec/shorten: support decoding AIFF-C variantPaul B Mahol2017-02-232-2/+16
| | | | Signed-off-by: Paul B Mahol <onemda@gmail.com>
* doc/filters: mention 'ffmpeg -filters' in timeline sectionLou Logan2017-02-231-0/+2
| | | | | | So users can see which filters support the 'enable' option. Signed-off-by: Lou Logan <lou@lrcd.com>
* avcodec/scpr: improve check for out of range motion vectorsPaul B Mahol2017-02-231-1/+2
| | | | Signed-off-by: Paul B Mahol <onemda@gmail.com>
* avcodec/scpr: check that current row is in valid rangePaul B Mahol2017-02-231-0/+16
| | | | | | Stops writing out of dst array. Signed-off-by: Paul B Mahol <onemda@gmail.com>
* avcodec/scpr: do not allow out of array access for 16bit casePaul B Mahol2017-02-231-2/+2
| | | | Signed-off-by: Paul B Mahol <onemda@gmail.com>
* avcodec/qdrw: do better w/h parsing for direct bit packingPaul B Mahol2017-02-231-10/+11
| | | | | | | Apparently using 0x0001 opcode solely is not correct. Try this instead. Signed-off-by: Paul B Mahol <onemda@gmail.com>
* lavc/videotoolboxenc: check for dictionary key symbolsRick Kern2017-02-231-36/+138
| | | | | | | Fixes #6081. Some dictionary keys are not present on OS X 10.8. This loads the symbols and uses a default value if not present. Signed-off-by: Rick Kern <kernrj@gmail.com>
* avcodec/h264_ps: Check chroma_qp_index_offsetMichael Niedermayer2017-02-231-0/+9
| | | | | | | | | Fixes: 647/clusterfuzz-testcase-5195745823031296 Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/targets/ffmpeg Reviewed-by: BBB Reviewed-by: Paul B Mahol <onemda@gmail.com> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* avcodec/mips/Makefile: corrected conditional build of version 1 of vc1dsp ↵Jacek Manko2017-02-231-1/+1
| | | | | | optimizations for loongson mmi Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* lavd/opengl_enc: Fix a typo.Carl Eugen Hoyos2017-02-231-1/+1
|
* avcodec/wrapped_avframe: allocate a buffer with paddingMarton Balint2017-02-221-2/+14
| | | | | | | | This ensures that the wrapped avframe will not get reallocated later, which would invalidate internal references such as extended data. Reviewed-by: wm4 <nfxjfg@googlemail.com> Signed-off-by: Marton Balint <cus@passwd.hu>
* avcodec: add ScreenPressor decoderPaul B Mahol2017-02-229-2/+828
| | | | Signed-off-by: Paul B Mahol <onemda@gmail.com>
* avcodec/h264idct_template: Fix several runtime error: signed integer overflowMichael Niedermayer2017-02-221-9/+9
| | | | | | | Fixes: 652/clusterfuzz-testcase-6174944410992640 Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/targets/ffmpeg Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* avcodec/mpeg4videodec: Check sprite_offset in addition to shiftsMichael Niedermayer2017-02-221-2/+7
| | | | | | | Fixes: 651/clusterfuzz-testcase-5710668915277824 Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/targets/ffmpeg Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* avcodec/mpegaudiodec_template: Fix multiple runtime error: signed integer ↵Michael Niedermayer2017-02-221-1/+1
| | | | | | | | | overflow Fixes: 648/clusterfuzz-testcase-5337961317007360 Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/targets/ffmpeg Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* avcodec/qdrw: add support for 0x0001 codePaul B Mahol2017-02-221-1/+12
| | | | | | Fixes decoding of files which sets frame width/height this way. Signed-off-by: Paul B Mahol <onemda@gmail.com>
* avcodec/dnxhddec: fix decoding of DNxHR HQX 10-bitPaul B Mahol2017-02-221-1/+4
| | | | Signed-off-by: Paul B Mahol <onemda@gmail.com>
* doc: drawtext options updateMulvya2017-02-221-3/+10
| | | | | | | | Remove nonexistant "draw" option. Add undocumented "tc24hmax" timecode wrap option. Signed-off-by: Mulvya <mulvya@gmail.com> Signed-off-by: Lou Logan <lou@lrcd.com>
* avcodec/cbrt_data: add missing header includeJames Almer2017-02-221-0/+2
| | | | Fixes make checkheaders
* avcodec/mjpegenc_huffman: add missing header includeJames Almer2017-02-221-0/+2
| | | | Fixes make checkheaders
* avcodec/flicvideo: update comment, 24bit support is implementedPaul B Mahol2017-02-221-2/+1
| | | | Signed-off-by: Paul B Mahol <onemda@gmail.com>
* MAINTAINERS: Add ffmpeg-security alias membersMichael Niedermayer2017-02-221-0/+5
| | | | Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* avcodec/rv34: Forward error from rv34_decode_mv()Michael Niedermayer2017-02-221-1/+2
| | | | Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* avcodec/mpeg4video: Fix runtime error: left shift of negative valueMichael Niedermayer2017-02-222-5/+5
| | | | | | Fixes: 644/clusterfuzz-testcase-4726434209726464 Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/targets/ffmpeg Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* avcodec/dcadsp: Fix runtime error: signed integer overflow: 394625024 * 8 ↵Michael Niedermayer2017-02-221-1/+1
| | | | | | | | | cannot be represented in type 'int' Fixes: 643/clusterfuzz-testcase-5209078743695360 Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/targets/ffmpeg Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* avcodec/rv34: Fix runtime error: signed integer overflow: -2 + -2147483648 ↵Michael Niedermayer2017-02-221-0/+5
| | | | | | | | | cannot be represented in type 'int' Fixes: 642/clusterfuzz-testcase-558358808074649 Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/targets/ffmpeg Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* avformat/matroskaenc: don't write DisplayUnit with value Unknown on WebM filesJames Almer2017-02-211-1/+1
| | | | | | | Value 4 (Unknown) is for the time being part of the Matroska spec but not supported by WebM Addresses ticket #6176
* avcodec/qdrw: don't overwrite bpp when checking its valueJames Almer2017-02-211-2/+2
| | | | Finishes fixing ticket #6171
* aacdec: When ignoring a PCE restore the previous configAlex Converse2017-02-211-0/+1
| | | | This is related to, but doesn't solve ticker 6152.
* lavd/opengl_enc: Support BGR48.Carl Eugen Hoyos2017-02-221-0/+1
|
* avcodec/qdrw: add support for 2bpp and 4bpp packed pallette formatPaul B Mahol2017-02-211-0/+114
| | | | Signed-off-by: Paul B Mahol <onemda@gmail.com>
* avcodec/qdrw: fix writing past end of rowPaul B Mahol2017-02-211-1/+1
| | | | Signed-off-by: Paul B Mahol <onemda@gmail.com>
* avcodec/ituh263dec: Fix runtime error: left shift of negative value -22Michael Niedermayer2017-02-211-1/+1
| | | | | | | Fixes: 639/clusterfuzz-testcase-5143866241974272 Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/targets/ffmpeg Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* avcodec/gsmdec_template: Fix runtime error: signed integer overflow: -22527 ↵Michael Niedermayer2017-02-211-1/+1
| | | | | | | | * 99113 cannot be represented in type 'int' Fixes: 636/clusterfuzz-testcase-6520876646268928 Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/targets/ffmpeg Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* avcodec/bmp: Fix runtime error: negation of -2147483648 cannot be ↵Michael Niedermayer2017-02-211-1/+1
| | | | | | | | | | | represented in type 'int'; cast to an unsigned type to negate this value to itself There is code checking height and width later, leaving an invalid value invalid is thus fine. Fixes: 635/clusterfuzz-testcase-6225161437052928 Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/targets/ffmpeg Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* avformat/sierravmd: Support for Shivers 2 stereo tracksNicolas Roy-Renaud2017-02-211-7/+13
| | | | | | Signed-off-by: Nicolas Roy-Renaud <nicolas.roy-renaud.1@ens.etsmtl.ca> Reviewed-by: Paul B Mahol <onemda@gmail.com> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* lavfi/buffersrc: fix directly setting channel layoutRostislav Pehlivanov2017-02-211-5/+7
| | | | | | | | | When setting the channel layout directly using AVBufferSrcParameters the channel layout was correctly set however the init function still expected the old string format to set the number of channels (when it hadn't already been specified). Signed-off-by: Rostislav Pehlivanov <atomnuker@gmail.com>
* avformat/hlsenc: fix cid 1401346 Dereferencing pointer errorSteven Liu2017-02-211-2/+2
| | | | | | | check if proto is null before av_strcasecmp CID: 1401346 Signed-off-by: Steven Liu <lq@chinaffmpeg.org>
* avcodec/h264_ps: Check delta scale for validityMichael Niedermayer2017-02-211-2/+8
| | | | | | | | Fixes: signed integer overflow: 5 + 2147483646 cannot be represented in type 'int' Fixes: 634/clusterfuzz-testcase-5285420445204480 Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/targets/ffmpeg Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* avcodec/simple_idct: Fix runtime error: left shift of negative value -6395Michael Niedermayer2017-02-211-2/+2
| | | | | | | Fixes: 633/clusterfuzz-testcase-4553133554401280 Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/targets/ffmpeg Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* avcodec/rv40: Fix runtime error: left shift of negative valueMichael Niedermayer2017-02-212-2/+2
| | | | | | | Fixes: 630/clusterfuzz-testcase-6608718928019456 Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/targets/ffmpeg Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* avcodec/qdrw: add support for decoding rgb555Paul B Mahol2017-02-211-2/+63
| | | | Signed-off-by: Paul B Mahol <onemda@gmail.com>
* avformat/mpl2dec: skip BOM when probingPaul B Mahol2017-02-211-0/+8
| | | | | | Fixes #5442. Signed-off-by: Paul B Mahol <onemda@gmail.com>