summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* avcodec/libvorbisdec: Fix insufficient input checks leading to out of array ↵Michael Niedermayer2019-10-291-4/+7
| | | | | | | | | | reads Fixes: 16144/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_LIBVORBIS_fuzzer-5638618940440576 Fixes: out of array read Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* avcodec/g723_1dec: fix invalid shift with negative sid_gainMichael Niedermayer2019-10-291-1/+1
| | | | | | | | | Fixes: left shift of negative value -1 Fixes: 18395/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_G723_1_fuzzer-5710313034350592 Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg Reviewed-by: Paul B Mahol <onemda@gmail.com> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* avformat/dss: Remove superfluous headersAndreas Rheinhardt2019-10-291-2/+0
| | | | | | | | Both attributes.h and bswap.h have been included from the very beginning of this muxer without there being any reason to do so. Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* avcodec/tiff: check the black level denominatorJames Almer2019-10-291-0/+9
| | | | | | | Fixes ticket #8327. Reviewed-by: Michael Niedermayer <michael@niedermayer.cc> Signed-off-by: James Almer <jamrial@gmail.com>
* avcodec/nvenc: turn feature check failures into warningshydra33332019-10-291-18/+18
| | | | Signed-off-by: Timo Rothenpieler <timo@rothenpieler.org>
* avfilter/vf_vfrdet: also report average deltaPaul B Mahol2019-10-292-3/+5
|
* avfilter/vf_vfrdet: fix reporting max deltaPaul B Mahol2019-10-291-0/+2
| | | | If only first delta was big it was previously discarded.
* avfilter: add median filterPaul B Mahol2019-10-298-1/+503
|
* avformat/wc3movie: fix memleak when read content size not equvipe input sizeSteven Liu2019-10-281-1/+3
| | | | Signed-off-by: Steven Liu <lq@chinaffmpeg.org>
* avformat/swfdec: fix memleak when inflateInit failedSteven Liu2019-10-281-0/+2
| | | | Signed-off-by: Steven Liu <lq@chinaffmpeg.org>
* avformat/smacker: fix memleak when avformat_new_stream failedSteven Liu2019-10-281-2/+8
| | | | Signed-off-by: Steven Liu <lq@chinaffmpeg.org>
* avformat/rtmpproto: fix memleak when open rtmp failedSteven Liu2019-10-281-0/+3
| | | | Signed-off-by: Steven Liu <lq@chinaffmpeg.org>
* avformat/rl2: fix memleak when read end of fileSteven Liu2019-10-281-7/+13
| | | | Signed-off-by: Steven Liu <lq@chinaffmpeg.org>
* avformat/mpc8: fix memleak when seek table too bigSteven Liu2019-10-281-0/+1
| | | | | Reviewed-by: Michael Niedermayer <michael@niedermayer.cc> Signed-off-by: Steven Liu <lq@chinaffmpeg.org>
* avformat/libmodplug: fix memleak when load modplug failedSteven Liu2019-10-281-2/+3
| | | | Signed-off-by: Steven Liu <lq@chinaffmpeg.org>
* avformat/hlsenc: move freep segment from sls_flags_filename_process after ↵Steven Liu2019-10-281-3/+1
| | | | | | caller failed Signed-off-by: Steven Liu <lq@chinaffmpeg.org>
* avcodec/vmdvideo: fix log error messagePaul B Mahol2019-10-271-1/+1
| | | | Fixes #8339
* Add support for VP9 VDPAU hwaccel decodeManojGuptaBonda2019-10-268-3/+261
| | | | | | | | | | | | | | | Support for VDPAU accelerated VP9 decoding was added with libvdpau-1.3. Support for the same in ffmpeg is added with this patch. Profiles related to VDPAU VP9 can be found in latest vdpau.h present in libvdpau-1.3. DRC clips are not supported yet due to http://trac.ffmpeg.org/ticket/8068 Add VP9 VDPAU to list of hwaccels and supported formats Added file vdpau_vp9.c and Modified configure to add VDPAU VP9 support. Mapped VP9 profiles to VDPAU VP9 profiles. Populated the codec specific params that need to be passed to VDPAU. Signed-off-by: Philip Langdale <philipl@overt.org>
* lavc/qsvdec: remove unused check_dec_paramLinjie Fu2019-10-261-27/+0
| | | | Signed-off-by: Linjie Fu <linjie.fu@intel.com>
* avfilter/avf_showfreqs: free input frame after using itJames Almer2019-10-261-0/+1
| | | | | | | Fixes ticket #8336. Reviewed-by: Paul B Mahol <onemda@gmail.com> Signed-off-by: James Almer <jamrial@gmail.com>
* avfilter/vsrc_testsrc: increase max level of haldclutsrcPaul B Mahol2019-10-261-1/+1
| | | | So it matches lut3d and haldclut filter.
* avfilter/vf_lut3d: increase max level to upper limit defined by cube format ↵Paul B Mahol2019-10-261-1/+1
| | | | specification
* avfilter/vf_lut3d: allocate 3d lut dynamicallyPaul B Mahol2019-10-261-59/+111
|
* avformat/avienc: Remove superfluous headerAndreas Rheinhardt2019-10-251-1/+0
| | | | | | | | | 04d2540c added intreadwrite.h to avienc.c, although there was (and is) no need to do so. The inclusion seems to be a mistake as this commit added a AV_WL32 to avidec.c. Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* avformat/avidec: Remove superfluous headerAndreas Rheinhardt2019-10-251-1/+0
| | | | | | | | | | | bswap.h was included since 7b114c09, yet since 3788a3c0 no explicit use of anything from bswap.h has been made, so remove this header. (Only AV_RL32 is used and while this might imply swapping on big-endian systems, it is contained in libavutil/intreadwrite.h.) Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* avformat/asfenc: Remove unnecessary headerAndreas Rheinhardt2019-10-251-1/+0
| | | | | | | | | libavutil/parseutils.h has been included in 22bbd6e8 for av_parse_time() and the header has not been removed when said function was replaced by ff_parse_creation_time_metadata() in ea1bf08a. Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* avformat/aiffenc: Add deinit functionAndreas Rheinhardt2019-10-251-4/+9
| | | | | | | Prevents memleaks if the trailer is never written. Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* doc/filters: add one more example for libvmafPaul B Mahol2019-10-251-0/+11
|
* doc/filters: add one more example for ssim/psnrPaul B Mahol2019-10-251-0/+21
|
* avfilter/vf_psnr,vf_ssim: add warning if different timebases are encounteredPaul B Mahol2019-10-252-0/+16
|
* avcodec/interplayvideo: properly decode motion vectorsPaul B Mahol2019-10-251-10/+15
| | | | Fixes #7945
* avformat/bintext: avoid division by zeroPaul B Mahol2019-10-251-1/+3
| | | | Fixes #8335
* avformat/tee.c: steal bsf option before passing to fifo muxerJun Li2019-10-251-4/+11
| | | | | | | | | Fix #7620 In the case tee muxer with both "bsf" and "use_fifo" parameters will trigger this bug. Tee muxer will first steal parameters (like "f", "select"...) and then "use_fifo" will try reading out remaining options and pass them to fifo as option "format_options". Current code miss the part of stealing "bsf" options.
* fftools/ffmpeg: Free swresample dictionary during cleanupAndreas Rheinhardt2019-10-251-0/+1
| | | | | | | | | | Freeing this was forgotten in ad899522. Fixes #8315 and #8316. Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com> Reviewed-by: Paul B Mahol <onemda@gmail.com> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* avcodec/vp5: Check render_x/yMichael Niedermayer2019-10-251-2/+7
| | | | | | | | | Fixes: Timeout (15sec -> 91ms) Fixes: 18353/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_VP5_fuzzer-5704150326706176 Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg Reviewed-by: Peter Ross <pross@xvid.org> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* avcodec/truespeech: Fix integer overflow in truespeech_synth()Michael Niedermayer2019-10-251-1/+1
| | | | | | | | Fixes: signed integer overflow: -1801695444 + -830224908 cannot be represented in type 'int' Fixes: 17995/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_TRUESPEECH_fuzzer-5648084880588800 Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* avcodec/interplayacm: Fix integer overflows in juggle()Michael Niedermayer2019-10-251-1/+2
| | | | | | | | Fixes: signed integer overflow: -760459023 + -1520918047 cannot be represented in type 'int' Fixes: 17994/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_INTERPLAY_ACM_fuzzer-5647123042795520 Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* avcodec/hcom: Check the root entry and the right entriesMichael Niedermayer2019-10-251-1/+8
| | | | | | | | | | Fixes: Segfault Fixes: 17991/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_HCOM_fuzzer-5647235349479424 Also fixes related memleak Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* avcodec/qdrw: Check input for header/skiped space before get_buffer()Michael Niedermayer2019-10-251-0/+2
| | | | | | | | Fixes: Timeout (21sec -> 0.8sec) Fixes: 17990/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_QDRAW_fuzzer-5200374436200448 Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* tools/target_dec_fuzzer: Adjust threshold for CFHDMichael Niedermayer2019-10-251-0/+1
| | | | | | | | Fixes: Timeout (18sec -> 5sec) Fixes: 17977/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_CFHD_fuzzer-5186112762413056 Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* tools/target_dec_fuzzer: Adjust ffwavesynth thresholdMichael Niedermayer2019-10-251-0/+1
| | | | | | | | | | ffwavesynth can produce large amounts of data relatively slowly on very small input Fixes: Timeout (60sec -> 9sec) Fixes: 17970/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_FFWAVESYNTH_fuzzer-5689121279836160 Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* avcodec/ralf: Skip initializing unused filter variablesMichael Niedermayer2019-10-251-2/+4
| | | | | | | | Fixes: left shift of negative value -1 Fixes: 17890/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_RALF_fuzzer-5643307467669504 Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* avcodec/takdec: Fix overflow with large sample ratesMichael Niedermayer2019-10-251-2/+2
| | | | | | | | Fixes: signed integer overflow: 2147483647 + 511 cannot be represented in type 'int' Fixes: 17899/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_TAK_fuzzer-5719753322135552 Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* doc/filters: fix another typoPaul B Mahol2019-10-241-1/+1
|
* avcodec/interplayvideo: cosmeticsPaul B Mahol2019-10-241-69/+69
|
* avfilter: add maskedmin/maskedmax filtersPaul B Mahol2019-10-246-1/+397
|
* avformat/mpeg: Don't free unintialized pointerAndreas Rheinhardt2019-10-241-1/+1
| | | | | | | | | | | | In order to fix a potential memleak upon failure, 0b8956b2 made sure that a buffer given by a pointer was freed upon error. But this pointer was only initialized upon use and in several cases (Clang gives no fewer than 13 -Wsometimes-uninitialized warnings) this meant that an uninitialized pointer was used to free a buffer. So initialize the pointer. Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com> Signed-off-by: James Almer <jamrial@gmail.com>
* mpegvideo_enc: add intra_penalty option for p framesRamiro Polla2019-10-245-10/+13
| | | | | | | | | | | | | | | This option allows more control over the use of intra macroblocks in predictive frames. By using '-intra_penalty max', intra macroblocks are never used in predictive frames. It is useful for glitch artists to generate input material. This option allows them to split and merge two video files while maintaining fluid motion from the second video without having intra macroblocks restoring chunks of the first video. Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* avformat/icoenc: Add deinit functionAndreas Rheinhardt2019-10-241-2/+8
| | | | | | | | Prevents memleaks in situations where the trailer isn't written, e.g. because of errors during writing the header. Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* avformat/aiffenc: Use better error codesAndreas Rheinhardt2019-10-241-3/+3
| | | | | Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
OpenPOWER on IntegriCloud