Michael Niedermayer
5cae71d2b7
avcodec/ffv1dec: Fix off by 1 error with quant tables
...
Fixes: assertion failure
Fixes: 28447/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_FFV1_fuzzer-5369575948550144
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>
2020-12-22 00:30:50 +01:00
Michael Niedermayer
c0e660ba14
avformat/mpegts: simplify nb_packets code
...
Reviewed-by: Marton Balint <cus@passwd.hu>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2020-12-22 00:30:50 +01:00
Michael Niedermayer
ef7b117b7b
avformat/mpegts: Increase pcr_incr width to 64bit
...
Fixes: division by zero
Fixes: 26459/clusterfuzz-testcase-minimized-ffmpeg_dem_MPEGTSRAW_fuzzer-5666350112178176
Fixes: 28154/clusterfuzz-testcase-minimized-ffmpeg_dem_MPEGTSRAW_fuzzer-5195728439476224
Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg
Reviewed-by: Marton Balint <cus@passwd.hu>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2020-12-22 00:30:50 +01:00
Paul B Mahol
cd82c6e4ef
avfilter/vf_decimate: switch to activate
2020-12-21 23:34:10 +01:00
Paul B Mahol
204a906437
avfilter/af_crystalizer: implement inverse filtering
2020-12-21 13:15:27 +01:00
Paul B Mahol
28aedc7f54
avfilter/af_crystalizer: use proper type for variable
2020-12-21 12:00:21 +01:00
Paul B Mahol
c1c2e6f968
avfilter/af_crystalizer: improve filter description
2020-12-21 11:51:00 +01:00
Andriy Gelman
cd97e1ff4d
avformat/libamqp: parse vhost in uri
...
Reviewed-by: Marton Balint <cus@passwd.hu>
Signed-off-by: Andriy Gelman <andriy.gelman@gmail.com>
2020-12-21 01:27:33 -05:00
Paul B Mahol
6e96e3d970
avfilter: add shufflepixels video filter
2020-12-20 21:44:13 +01:00
Gyan Doshi
ab6a56773f
doc/codecs: add entries for export_side_data
...
Document addition of venc_params and film_grain.
2020-12-20 15:09:28 +05:30
Michael Niedermayer
2749e20d04
avcodec/fastaudio: Fix invalid shift exponent
...
Fixes: shift exponent 32 is too large for 32-bit type 'unsigned int'
Fixes: 25434/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_FASTAUDIO_fuzzer-6252363168612352
Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2020-12-19 23:19:29 +01:00
Paul B Mahol
3336ca4644
avfilter/vf_maskedthreshold: add support for commands
2020-12-19 23:08:09 +01:00
Paul B Mahol
64e572db46
avfilter/vf_maskedminmax: add support for commands
2020-12-19 20:46:00 +01:00
Paul B Mahol
4fcfecdd66
avfilter/vf_maskedclamp: add support for commands
2020-12-19 20:46:00 +01:00
Paul B Mahol
d6a356f115
avfilter/vf_bilateral: add support for commands
2020-12-19 20:46:00 +01:00
Paul B Mahol
31aa6bdb59
doc/filters: document that cas filter supports commands
2020-12-19 20:46:00 +01:00
Michael Niedermayer
f58d0d5bec
tools/target_dem_fuzzer: remove unused label
...
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2020-12-19 20:07:56 +01:00
Michael Niedermayer
8aadae670f
avcodec/utils: Check bitrate for overflow in get_bit_rate()
...
Fixes: signed integer overflow: 617890810133996544 * 16 cannot be represented in type 'long'
Fixes: 26565/clusterfuzz-testcase-minimized-ffmpeg_dem_MV_fuzzer-5092054700654592
Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2020-12-19 20:07:56 +01:00
Michael Niedermayer
0afbaabdca
avformat/mov: Check if hoov is at the end
...
Fixes: Timeout, probably infinite loop
Fixes: 26559/clusterfuzz-testcase-minimized-ffmpeg_dem_MOV_fuzzer-5391165484171264
Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2020-12-19 20:07:56 +01:00
Michael Niedermayer
ad20a4f92b
avcodec/hevc_ps: Change scaling_list_dc_coef to 8 bit
...
Suggested-by: James
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2020-12-19 20:07:56 +01:00
Michael Niedermayer
f1700bd8bb
avcodec/hevc_ps: check scaling_list_dc_coef
...
Fixes: signed integer overflow: 2147483640 + 8 cannot be represented in type 'int'
Fixes: 28449/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_HEVC_fuzzer-5686013259284480
Reviewed-by: James Almer <jamrial@gmail.com>
Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2020-12-19 20:07:56 +01:00
Paul B Mahol
50a9210739
avfilter/vf_fillborders: add fade mode
2020-12-18 23:11:51 +01:00
James Almer
962040ad91
fate/image: add missing ffprobe dependency to fate-dpx-probe
...
And use the existing probeframes helper while at it.
Signed-off-by: James Almer <jamrial@gmail.com>
2020-12-18 18:51:15 -03:00
James Almer
c9bc7d0f22
fate/image: update fate-dpx-probe reference file
...
Regression since 20b09b20a9
Signed-off-by: James Almer <jamrial@gmail.com>
2020-12-18 18:51:15 -03:00
Andriy Gelman
207658112b
avformat/rtsp: set AV_OPT_FLAG_DEPRECATED on deprecated options
...
Reviewed-by: Zhao Zhili <zhilizhao@tencent.com>
Signed-off-by: Andriy Gelman <andriy.gelman@gmail.com>
2020-12-18 16:14:17 -05:00
Paul B Mahol
90720da511
avfilter/vf_fillborders: add more fill modes
2020-12-18 19:40:31 +01:00
James Almer
20b09b20a9
avcodec/dpx: fix use of uninitialised value
...
Found by Valgrind.
Reviewed-by: Paul B Mahol <onemda@gmail.com>
Signed-off-by: James Almer <jamrial@gmail.com>
2020-12-18 15:22:16 -03:00
James Almer
2d02cf72e1
avcodec/hevc_sei: return the correct error code on User Data Registered parsing failure
...
Signed-off-by: James Almer <jamrial@gmail.com>
2020-12-18 12:58:51 -03:00
James Almer
d397d98b59
avcodec/hevc_sei: print a log message when a unsupported ITU-T T35 SEI messages is parsed
...
Signed-off-by: James Almer <jamrial@gmail.com>
2020-12-18 12:43:30 -03:00
James Almer
d5556377de
avcodec/hevc_sei: refactor parsing User Data Registered ITU-T T35 SEI messages
...
Signed-off-by: James Almer <jamrial@gmail.com>
2020-12-18 12:43:08 -03:00
James Almer
f322383a44
avcodec/h264_sei: print a log message when a unsupported ITU-T T35 SEI messages is parsed
...
Signed-off-by: James Almer <jamrial@gmail.com>
2020-12-18 12:34:17 -03:00
James Almer
65058cade1
avcodec/h264_sei: refactor parsing User Data Registered ITU-T T35 SEI messages
...
Signed-off-by: James Almer <jamrial@gmail.com>
2020-12-18 12:34:04 -03:00
Paul B Mahol
7e3f20c43c
avfilter/af_asoftclip: add two more useful options for finer filtering
2020-12-18 13:11:53 +01:00
Paul B Mahol
1eb751955e
avfilter/af_biquads: fix error in ro calculation
2020-12-17 15:13:42 +01:00
Harry Mallon
331858d0f6
avcodec/dpx: Fix B&W film scans from Lasergraphics Inc
...
Signed-off-by: Harry Mallon <harry.mallon@codex.online>
2020-12-17 13:02:49 +01:00
Harry Mallon
0539f15bbb
avcodec/dpx: Read color information from DPX header
...
Signed-off-by: Harry Mallon <harry.mallon@codex.online>
2020-12-17 13:02:49 +01:00
Harry Mallon
8232e01e41
avcodec/dpx: Report color_range from DPX header
...
Signed-off-by: Harry Mallon <harry.mallon@codex.online>
2020-12-17 13:02:49 +01:00
Harry Mallon
a041c0a031
avcodec/dpx: Read SMPTE timecode from DPX
...
Signed-off-by: Harry Mallon <harry.mallon@codex.online>
2020-12-17 13:02:49 +01:00
Harry Mallon
6623421454
avcodec/dpx: Read alternative frame rate from television header
...
Signed-off-by: Harry Mallon <harry.mallon@codex.online>
2020-12-17 13:02:49 +01:00
Harry Mallon
4bdfbd688f
fate: Add dpx-probe test
...
Signed-off-by: Harry Mallon <harry.mallon@codex.online>
2020-12-17 13:02:49 +01:00
Michael Niedermayer
ef59a40c2a
avformat/url: Change () position in ff_make_absolute_url()
...
No testcase
Reviewed-by: Nicolas George <george@nsup.org>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2020-12-16 22:45:28 +01:00
Paul B Mahol
69be00aa61
avfilter/af_biquads: add one-pole shelf filters by adding pole option
2020-12-16 18:38:51 +01:00
James Almer
1a8e719f36
avcodec/av1dec: support exporting Film Grain params as frame side data
...
Signed-off-by: James Almer <jamrial@gmail.com>
2020-12-16 13:34:11 -03:00
Paul B Mahol
32586a42da
avfilter/vf_limiter: add support for commands
2020-12-15 20:35:01 +01:00
James Almer
cd821c18dc
avcodec/cuviddec: unref output frame on failure
...
Signed-off-by: James Almer <jamrial@gmail.com>
2020-12-13 15:50:42 -03:00
James Almer
eadf7e3a59
avcodec/cuviddec: check for av_buffer_ref() failure
...
Signed-off-by: James Almer <jamrial@gmail.com>
2020-12-13 15:50:42 -03:00
James Almer
081a17990b
avcodec/libdav1d: stop setting AVFrame->best_effort_timestamp
...
It's now set by the generic decode code.
Signed-off-by: James Almer <jamrial@gmail.com>
2020-12-13 12:14:57 -03:00
James Almer
94febdaec6
avcodec/mjpegdec: stop setting AVFrame->best_effort_timestamp
...
It's now set by the generic decode code.
Signed-off-by: James Almer <jamrial@gmail.com>
2020-12-13 12:14:57 -03:00
James Almer
4bff800dc9
avcodec/decode: set best_effort_timestamp on output frames for all decoders
...
Fixes a decoding regression introduced by e9a2a87773
, and as a side effect also
fixes bogus values set to certain audio frames that had some samples discarded,
where the offsets added to pts, pkt_dts and pkt_duration were not reflected in
best_effort_timestamp.
Signed-off-by: James Almer <jamrial@gmail.com>
2020-12-13 12:14:57 -03:00
Paul B Mahol
bf4b9e933f
avfilter/af_afreqshift: add fltp sample format support
2020-12-13 11:16:31 +01:00