Michael Niedermayer
d260621089
swscale/output: Avoid 64bit in Alpha in yuv2ya16_X_c_template()
...
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
5 years ago
Michael Niedermayer
3e6682931b
swscale/output: Correct Alpha in yuv2ya16_X_c_template()
...
Untested, no testcase
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
5 years ago
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>
5 years ago
Paul B Mahol
e831f60100
fate/source: add libavfilter/af_arnndn.c
5 years ago
Paul B Mahol
98ae6b0a4d
vafilter/af_replaygain: fix undefined behaviour
...
Fixes #8291
5 years ago
Paul B Mahol
71bceb06e6
avfilter/avf_abitscope: fix undefined behaviour
...
Fixes #8289
5 years ago
Paul B Mahol
4fe4772a58
avfilter/vf_colorchannelmixer: do not use pointer if there is no alpha
...
Fixes #8288
5 years ago
Paul B Mahol
932913f0b4
avfilter/vf_edgedetect: fix undefined behaviour
...
Fixes #8287
5 years ago
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>
5 years ago
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>
5 years ago
Paul B Mahol
1a0c584abc
avfilter/f_reverse: fix memory leaks
...
Fixes #8283
5 years ago
Paul B Mahol
b0bfa3699c
avfilter: add arnndn filter
5 years ago
Paul B Mahol
c3985c0ea8
avfilter/vf_atadenoise: compensate for small overall brightness loss
...
This is very hard to spot.
5 years ago
Paul B Mahol
b20dee813a
avfilter/vsrc_testsrc: rgbtestsrc: fix undefined behaviour
...
Fixes #8238
5 years ago
Paul B Mahol
64a805883d
avfilter/vf_gblur: fix heap-buffer overflow
...
Fixes #8282
5 years ago
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);
5 years ago
Paul B Mahol
29dac2927f
avfilter/af_afade: make sure that in is available
5 years ago
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>
5 years ago
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>
5 years ago
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>
5 years ago
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>
5 years ago
Paul B Mahol
f2598484b8
avfilter/vf_bm3d: make sure nb_jobs is at least 1
5 years ago
Michael Niedermayer
ec9d48da19
tools/target_dec_fuzzer: Also fuzz keyframe & disposal flags
...
This should improve coverage
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
5 years ago
hwren
e71c241bea
lavc/libxavs2: fix parameter setting result determination
...
Signed-off-by: hwren <hwrenx@126.com>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
5 years ago
Paul B Mahol
e1b89c76f6
avfilter/af_afade: fix heap-buffer overflow
...
Fixes #8276
5 years ago
Paul B Mahol
de598f82f8
avfilter/vf_edgedetect: fix heap-buffer overflow
...
Fixes #8275
5 years ago
Paul B Mahol
f069a9c2a6
avfilter/vf_avgblur: fix heap-buffer overflow
...
Fixes #8274
5 years ago
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>
5 years ago
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>
5 years ago
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>
5 years ago
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>
5 years ago
Zhao Zhili
2bfa7df9fe
avfilter: fix typo in comments
...
Signed-off-by: mypopy@gmail.com
5 years ago
Michael Niedermayer
cc50d113c8
tools/target_dec_fuzzer: Also fuzz codec_tag
...
This should improve coverage
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
5 years ago
Michael Niedermayer
2d3ccfa863
tools/target_dec_fuzzer: Also fuzz FF_COMPLIANCE_EXPERIMENTAL
...
This should improve coverage
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
5 years ago
Michael Niedermayer
0c07eb5205
tools/target_dec_fuzzer: Also fuzz block_align
...
This should improve coverage
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
5 years ago
Paul B Mahol
79522411fa
avfilter/vf_lenscorrection: make width/height int
...
Somehow previous correct fix broke usage.
5 years ago
James Almer
5c3d521a94
doc/APIchanges: add missing entry for the new runtime param AVOption flag
...
Signed-off-by: James Almer <jamrial@gmail.com>
5 years ago
Paul B Mahol
c4d1603baf
avfilter/vf_atadenoise: rewrite using macro
5 years ago
Paul B Mahol
a4e5dc4b38
doc/filters: document colorchannelmixer commands
5 years ago
Paul B Mahol
688472641d
doc/filters: document amplify commands
5 years ago
Paul B Mahol
746c8e7c9d
doc/filters: document scroll commands
5 years ago
Paul B Mahol
8c3166e1c3
avfilter/vf_bwdif: fix heap-buffer overflow
...
Fixes #8261
5 years ago
Paul B Mahol
ce764a6c74
avfilter/af_atempo: use ff_filter_process_command()
5 years ago
Paul B Mahol
015cbca444
avfilter/af_biquads: use ff_filter_process_command()
5 years ago
Paul B Mahol
dcfe32920c
avfilter/af_rubberband: use ff_filter_process_command()
5 years ago
Paul B Mahol
9e883a1448
avfilter/vf_drawbox: use ff_filter_process_command()
5 years ago
Paul B Mahol
4568e54cc5
avfilter/vf_colorchannelmixer: add support for commands
5 years ago
Paul B Mahol
953b1c7b12
avfilter/vf_amplify: add support for commands
5 years ago
Paul B Mahol
7fcb84165e
avfilter/vf_scroll: add support for commands
5 years ago
Paul B Mahol
877e2e92a3
avfilter/af_anlmdn: switch to ff_filter_process_command()
5 years ago