summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* 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>
* avformat/mpeg: Add padding to extradataAndreas Rheinhardt2019-10-241-7/+5
| | | | | | | | | Extradata is supposed to be padded with AV_INPUT_BUFFER_PADDING_SIZE bytes, yet the VobSub demuxer used av_strdup for the allocation of extradata. This has been changed. Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* avfilter/vf_maskedclamp: add x86 SIMDPaul B Mahol2019-10-235-7/+190
|
* FATE/dnn: add .gitignoreZhao Zhili2019-10-231-0/+4
| | | | Reviewed-by: Guo, Yejun <yejun.guo@intel.com>
* avcodec/tests: add h265_levels to .gitignoreZhao Zhili2019-10-231-0/+1
|
* avfilter/settb: switch to activatePaul B Mahol2019-10-231-7/+44
| | | | Now correctly updates EOF timestamp.
* avfilter/vf_floodfill: better fix for crashPaul B Mahol2019-10-231-11/+16
|
* avfilter/vf_floodfill: add more gray formatsPaul B Mahol2019-10-231-22/+7
|
* avfilter/vf_deband: add more gray formatsPaul B Mahol2019-10-231-1/+2
|
* lavfi/bilateral: Clean the option description and unused codeJun Zhao2019-10-231-6/+1
| | | | | | | Clean the option description and unused code. Reviewed-by: Paul B Mahol <onemda@gmail.com> Signed-off-by: Jun Zhao <barryjzhao@tencent.com>
* avfilter/vf_lut2: fix typo, correctly support gray14Paul B Mahol2019-10-231-1/+1
|
* avfilter/vf_bm3d: add gray14 formatPaul B Mahol2019-10-231-3/+2
|
* avfilter/vf_vaguedenoiser: add more gray formatsPaul B Mahol2019-10-231-2/+2
|
* avfilter/transpose: add missing headersPaul B Mahol2019-10-221-0/+3
|
* x86/vf_transpose: make ff_transpose_8x8_16_sse2 work on x86_32James Almer2019-10-222-7/+6
| | | | | Reviewed-by: Paul B Mahol <onemda@gmail.com> Signed-off-by: James Almer <jamrial@gmail.com>
* avfilter/vf_maskedclamp: rewrite using macroPaul B Mahol2019-10-221-89/+58
|
* avcodec/libdav1d: fix setting AVFrame reordered_opaqueJames Almer2019-10-221-1/+26
| | | | | | | | | Actually reorder the values. Should effectively fix ticket #8300. Tested-by: Andrey Semashev <andrey.semashev@gmail.com> Signed-off-by: James Almer <jamrial@gmail.com>
* avcodec/atrac9tab: use explicit ATRAC9BlockConfig struct initializersJames Almer2019-10-221-46/+33
| | | | | | | Cosmetic change. Reviewed-by: Lynne <dev@lynne.ee> Signed-off-by: James Almer <jamrial@gmail.com>
* avfilter/vf_premultiply: fix signed integer overflowPaul B Mahol2019-10-221-2/+2
| | | | Fixes #8324
* avformat/mpeg: move the header_str free into end labelSteven Liu2019-10-221-2/+2
| | | | | | fix CID: 1454875 Signed-off-by: Steven Liu <lq@chinaffmpeg.org>
* avcodec/psd: remove unneeded codeSteven Liu2019-10-221-2/+0
| | | | Signed-off-by: Steven Liu <lq@chinaffmpeg.org>
* avcodec/hevcdec: remove unneeded codeSteven Liu2019-10-221-1/+0
| | | | Signed-off-by: Steven Liu <lq@chinaffmpeg.org>
* avformat/segafilmenc: remove unneeded codeSteven Liu2019-10-221-2/+0
| | | | Signed-off-by: Steven Liu <lq@chinaffmpeg.org>
* avformat/matroskaenc: CosmeticsAndreas Rheinhardt2019-10-211-18/+18
| | | | | | | | | | Contains renaming of variables (e.g. mkv_write_cues() contained variables called tracknum that actually contain the index of a track in s->streams and not the track number (which can differ in case an explicit dash track number is set)). Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com> Signed-off-by: James Almer <jamrial@gmail.com>
* avformat/matroskaenc: Use more appropriate function nameAndreas Rheinhardt2019-10-211-10/+8
| | | | | | | | | | | | | | mkv_start_new_cluster() actually didn't start a new cluster, but ended the old one instead and emitted a debug message that it had started a new cluster. This has been changed: The debug message has been moved to the place that really starts a new cluster and the function has been renamed to mkv_end_cluster(). Furthermore, without this debug message the function can be used for flushing. Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com> Signed-off-by: James Almer <jamrial@gmail.com>
* avformat/matroskaenc: Remove redundant assertAndreas Rheinhardt2019-10-211-1/+1
| | | | | | | | | | | | | | The Matroska muxer groups index entries with the same pts together in order to save a few bytes. Because of Matroska's variable-length length fields, mkv_write_cues() does this by first finding out how many index entries will be grouped together before actually writing them. Currently, it is asserted at both of these stages that the stream index of the list of designated index entries is valid. But the second assert is redundant, because the very same index entries have already been checked. Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com> Signed-off-by: James Almer <jamrial@gmail.com>
OpenPOWER on IntegriCloud