1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2024-11-26 19:01:44 +02:00
Commit Graph

95490 Commits

Author SHA1 Message Date
James Almer
dd01947397 avformat/latmenc: abort if no extradata is available
Fixes ticket #8273.

Reviewed-by: Paul B Mahol <onemda@gmail.com>
Signed-off-by: James Almer <jamrial@gmail.com>
2019-10-15 13:04:44 -03:00
Paul B Mahol
f2598484b8 avfilter/vf_bm3d: make sure nb_jobs is at least 1 2019-10-15 17:59:43 +02:00
Michael Niedermayer
ec9d48da19 tools/target_dec_fuzzer: Also fuzz keyframe & disposal flags
This should improve coverage

Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2019-10-15 17:09:22 +02:00
hwren
e71c241bea lavc/libxavs2: fix parameter setting result determination
Signed-off-by: hwren <hwrenx@126.com>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2019-10-15 17:07:50 +02:00
Paul B Mahol
e1b89c76f6 avfilter/af_afade: fix heap-buffer overflow
Fixes #8276
2019-10-15 16:55:13 +02:00
Paul B Mahol
de598f82f8 avfilter/vf_edgedetect: fix heap-buffer overflow
Fixes #8275
2019-10-15 16:39:46 +02:00
Paul B Mahol
f069a9c2a6 avfilter/vf_avgblur: fix heap-buffer overflow
Fixes #8274
2019-10-15 16:31:15 +02:00
James Almer
62f4722582 avcodec/av1_parse: Use av_fast_realloc() for OBU array
Based on commits 22bec0d33f and
cebb446911.

Signed-off-by: James Almer <jamrial@gmail.com>
2019-10-15 00:00:38 -03:00
James Almer
1e0b6bc0b4 avcodec/av1_parse: simplify memset call
Removed (new_size - pkt->nals_allocated) because this value is always 1
during the call.
Based on commit 78b86c30d3.

Signed-off-by: James Almer <jamrial@gmail.com>
2019-10-15 00:00:02 -03:00
Andriy Gelman
cebb446911 avcodec/h2645_parse: Reset nal_buffer_size on uninit
Without reseting nal_buffer_size, av_fast_realloc will fail if
ff_h2645_packet_split is called with the unitialized pkt as argument.

Signed-off-by: James Almer <jamrial@gmail.com>
2019-10-14 23:59:56 -03:00
James Almer
2e4f86e04c ffprobe: fix output of packets_and_frames section in JSON format
The "type" entry was hardcoded with an trailing comma, even if it was
the only entry in the section.

Fixes ticket #8228.

Signed-off-by: James Almer <jamrial@gmail.com>
2019-10-14 21:06:56 -03:00
Zhao Zhili
2bfa7df9fe avfilter: fix typo in comments
Signed-off-by: mypopy@gmail.com
2019-10-14 15:02:20 -08:00
Michael Niedermayer
cc50d113c8 tools/target_dec_fuzzer: Also fuzz codec_tag
This should improve coverage

Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2019-10-14 21:16:00 +02:00
Michael Niedermayer
2d3ccfa863 tools/target_dec_fuzzer: Also fuzz FF_COMPLIANCE_EXPERIMENTAL
This should improve coverage

Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2019-10-14 21:16:00 +02:00
Michael Niedermayer
0c07eb5205 tools/target_dec_fuzzer: Also fuzz block_align
This should improve coverage

Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2019-10-14 21:16:00 +02:00
Paul B Mahol
79522411fa avfilter/vf_lenscorrection: make width/height int
Somehow previous correct fix broke usage.
2019-10-14 20:14:03 +02:00
James Almer
5c3d521a94 doc/APIchanges: add missing entry for the new runtime param AVOption flag
Signed-off-by: James Almer <jamrial@gmail.com>
2019-10-14 12:05:01 -03:00
Paul B Mahol
c4d1603baf avfilter/vf_atadenoise: rewrite using macro 2019-10-14 16:39:56 +02:00
Paul B Mahol
a4e5dc4b38 doc/filters: document colorchannelmixer commands 2019-10-14 13:14:18 +02:00
Paul B Mahol
688472641d doc/filters: document amplify commands 2019-10-14 13:11:55 +02:00
Paul B Mahol
746c8e7c9d doc/filters: document scroll commands 2019-10-14 13:08:13 +02:00
Paul B Mahol
8c3166e1c3 avfilter/vf_bwdif: fix heap-buffer overflow
Fixes #8261
2019-10-14 11:46:50 +02:00
Paul B Mahol
ce764a6c74 avfilter/af_atempo: use ff_filter_process_command() 2019-10-14 11:40:17 +02:00
Paul B Mahol
015cbca444 avfilter/af_biquads: use ff_filter_process_command() 2019-10-14 11:40:17 +02:00
Paul B Mahol
dcfe32920c avfilter/af_rubberband: use ff_filter_process_command() 2019-10-14 11:40:17 +02:00
Paul B Mahol
9e883a1448 avfilter/vf_drawbox: use ff_filter_process_command() 2019-10-14 11:40:17 +02:00
Paul B Mahol
4568e54cc5 avfilter/vf_colorchannelmixer: add support for commands 2019-10-14 11:40:17 +02:00
Paul B Mahol
953b1c7b12 avfilter/vf_amplify: add support for commands 2019-10-14 11:40:17 +02:00
Paul B Mahol
7fcb84165e avfilter/vf_scroll: add support for commands 2019-10-14 11:40:17 +02:00
Paul B Mahol
877e2e92a3 avfilter/af_anlmdn: switch to ff_filter_process_command() 2019-10-14 11:40:17 +02:00
Paul B Mahol
4954a17ec7 avfilter/vf_avgblur: switch to ff_filter_process_command() 2019-10-14 11:40:17 +02:00
Paul B Mahol
33e69806aa avfilter/vf_gblur: switch to ff_filter_process_command() 2019-10-14 11:40:17 +02:00
Paul B Mahol
9f7ab36ada avfilter/af_anlms: switch to ff_filter_process_command() 2019-10-14 11:40:17 +02:00
Paul B Mahol
8fec9fca69 doc/filters: document new feature 2019-10-14 11:40:17 +02:00
Paul B Mahol
c109dfc1b1 avutil/opt: print runtime flag too 2019-10-14 11:28:54 +02:00
Paul B Mahol
a918b833a5 avfilter/avfilter: add ff_filter_process_command() 2019-10-14 11:28:54 +02:00
Paul B Mahol
f3746d31f9 avutil/opt: add AV_OPT_FLAG_RUNTIME_PARAM flag 2019-10-14 11:28:54 +02:00
Paul B Mahol
036fff7e43 avfilter/vf_geq: reindent 2019-10-14 10:56:20 +02:00
Paul B Mahol
8a0d45a92e avfilter/vf_geq: allow user to set interpolation method 2019-10-14 10:55:51 +02:00
Paul B Mahol
996ff3fe86 avfilter/vf_edgedetect: fix coverity issue 2019-10-14 10:52:27 +02:00
Andriy Gelman
634529c40d avformat/chromaprint: improve logging message
Setting silence_threshold requires that -algorithm is set to 3.
2019-10-14 12:29:40 +05:30
Andriy Gelman
1108bd5173 avformat/chromaprint: Fix fp_format option
The fp_format option was incorrectly declared,
so it could not be set via string constants.
2019-10-14 12:27:34 +05:30
Michael Niedermayer
c8813b1a98 avfilter/vf_geq: Use av_clipd() instead of av_clipf()
With floats we cannot represent all 32bit integer dimensions

Reviewed-by: Paul B Mahol <onemda@gmail.com>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2019-10-14 00:48:44 +02:00
Andreas Rheinhardt
5056eb3511 avformat/Makefile: Fix aiffdec replaygain dependency
Forgotten in 6390f52a.

Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2019-10-14 00:48:44 +02:00
gxw
21d19f49b7 avcodec/mips: Fixed four warnings in vc1dsp
Change the stride argument to ptrdiff_t in the following functions:
ff_put_no_rnd_vc1_chroma_mc8_mmi, ff_put_no_rnd_vc1_chroma_mc4_mmi,
ff_avg_no_rnd_vc1_chroma_mc8_mmi, ff_avg_no_rnd_vc1_chroma_mc4_mmi.

Reviewed-by: Shiyou Yin <yinshiyou-hf@loongson.cn>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2019-10-14 00:48:44 +02:00
Michael Niedermayer
e418b315dd avcodec/wmaprodec: Check that the streams channels do not exceed the overall channels
Fixes: NULL pointer dereference
Fixes: 18075/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_XMA1_fuzzer-5708262036471808
Fixes: 18087/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_XMA1_fuzzer-5740627634946048

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>
2019-10-14 00:48:44 +02:00
Paul B Mahol
e835a9d302 avfilter/vf_libvmaf: fix filtering of >8 bit data
This is what reference does.
2019-10-13 23:43:42 +02:00
Paul B Mahol
19587c9332 avfilter/vf_lenscorrection: fix division by zero
Fixes #8265
2019-10-13 23:29:39 +02:00
Paul B Mahol
07050d7bdc avfilter/vf_fieldorder: fix heap-buffer overflow
Fixes #8264
2019-10-13 23:10:16 +02:00
Paul B Mahol
99f8d32129 avfilter/vf_convolution: fix undefined behaviour
Fixes #8263
2019-10-13 18:37:16 +02:00