Michael Niedermayer
9e32c47102
tools/target_dec_fuzzer: Adjust threshold for SCPR
...
Fixes: Timeout (46sec -> 7sec)
Fixes: 17644/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_SCPR_fuzzer-5715704283660288
Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2019-10-16 19:17:57 +02:00
Michael Niedermayer
e7113704b2
avcodec/cavsdec: Check remaining bitstream in the main loop in decode_pic()
...
Fixes: Timeout (149sec ->1sec)
Fixes: 17311/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_CAVS_fuzzer-5679368642232320
Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2019-10-16 19:17:57 +02:00
Michael Niedermayer
ea770eb559
avformat/shortendec: Check k in probe
...
Fixes: Assertion failure
Fixes: 17640/clusterfuzz-testcase-minimized-ffmpeg_DEMUXER_fuzzer-5708767475269632
Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2019-10-16 19:17:57 +02:00
Michael Niedermayer
cf7f35ace5
tools/target_dec_fuzzer: Adjust threshold for MSZH
...
Fixes: Timeout (250sec -> 6sec)
Fixes: 17627/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_MSZH_fuzzer-5643017129558016
Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2019-10-16 19:17:57 +02:00
Michael Niedermayer
d260621089
swscale/output: Avoid 64bit in Alpha in yuv2ya16_X_c_template()
...
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2019-10-16 19:17:57 +02:00
Michael Niedermayer
3e6682931b
swscale/output: Correct Alpha in yuv2ya16_X_c_template()
...
Untested, no testcase
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2019-10-16 19:17:57 +02:00
Michael Niedermayer
4f4ca675e5
swscale/output: Implement Luma computation from yuv2ya16_X_c_template() without 64bit
...
This also reverts 21838cad2f
The revert is in this commit to avoid 2 fate updates
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2019-10-16 19:17:57 +02:00
Paul B Mahol
e831f60100
fate/source: add libavfilter/af_arnndn.c
2019-10-16 18:37:29 +02:00
Paul B Mahol
98ae6b0a4d
vafilter/af_replaygain: fix undefined behaviour
...
Fixes #8291
2019-10-16 18:28:32 +02:00
Paul B Mahol
71bceb06e6
avfilter/avf_abitscope: fix undefined behaviour
...
Fixes #8289
2019-10-16 18:28:32 +02:00
Paul B Mahol
4fe4772a58
avfilter/vf_colorchannelmixer: do not use pointer if there is no alpha
...
Fixes #8288
2019-10-16 18:28:32 +02:00
Paul B Mahol
932913f0b4
avfilter/vf_edgedetect: fix undefined behaviour
...
Fixes #8287
2019-10-16 18:28:32 +02:00
Michael Niedermayer
7b94b22261
avcodec/apedec: Check remaining space in decode_array_0000()
...
Fixes: Timeout (? -> 2sec)
Fixes: 17886/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_APE_fuzzer-5728165124636672
Fixes: 18131/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_APE_fuzzer-5710803432374272
Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2019-10-16 18:03:26 +02:00
Michael Niedermayer
926221ef84
avcodec/apedec: Check error flag after entropy_decode*
...
Fixes: 17886/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_APE_fuzzer-5728165124636672
Fixes: 18131/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_APE_fuzzer-5710803432374272
Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2019-10-16 18:03:26 +02:00
Paul B Mahol
1a0c584abc
avfilter/f_reverse: fix memory leaks
...
Fixes #8283
2019-10-16 16:27:06 +02:00
Paul B Mahol
b0bfa3699c
avfilter: add arnndn filter
2019-10-16 15:13:59 +02:00
Paul B Mahol
c3985c0ea8
avfilter/vf_atadenoise: compensate for small overall brightness loss
...
This is very hard to spot.
2019-10-16 13:18:47 +02:00
Paul B Mahol
b20dee813a
avfilter/vsrc_testsrc: rgbtestsrc: fix undefined behaviour
...
Fixes #8238
2019-10-16 12:37:05 +02:00
Paul B Mahol
64a805883d
avfilter/vf_gblur: fix heap-buffer overflow
...
Fixes #8282
2019-10-16 12:13:04 +02:00
Andriy Gelman
e14f5fd0a6
avformat/chromaprint: Fix writing raw fingerprint
...
The pointer fp after the call to chromaprint_get_raw_fingerpoint() points to an array
of uint32_t whereas the current code assumed just a char stream. Thus when writing the
raw fingerprint, the output would be truncated by a factor of 4.
For reference the declaration of the function from chromaprint.h is:
int chromaprint_get_raw_fingerprint(ChromaprintContext *ctx, uint32_t **fingerprint, int *size);
2019-10-16 10:34:51 +05:30
Paul B Mahol
29dac2927f
avfilter/af_afade: make sure that in is available
2019-10-16 00:59:30 +02:00
Guo, Yejun
2558e62713
avfilter/dnn: unify the layer load function in native mode
...
Signed-off-by: Guo, Yejun <yejun.guo@intel.com>
Signed-off-by: Pedro Arthur <bygrandao@gmail.com>
2019-10-15 18:56:54 -03:00
Guo, Yejun
3fd5ac7e92
avfilter/dnn: unify the layer execution function in native mode
...
Signed-off-by: Guo, Yejun <yejun.guo@intel.com>
Signed-off-by: Pedro Arthur <bygrandao@gmail.com>
2019-10-15 18:56:25 -03:00
Guo, Yejun
b78dc27bba
avfilter/dnn: add DLT prefix for enum DNNLayerType to avoid potential conflicts
...
and also change CONV to DLT_CONV2D for better description
Signed-off-by: Guo, Yejun <yejun.guo@intel.com>
Signed-off-by: Pedro Arthur <bygrandao@gmail.com>
2019-10-15 16:35:39 -03:00
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