mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-01-19 05:49:09 +02:00
tools/target_dec_fuzzer: set AV_EF_CRCCHECK in avctx->err_recognition
Signed-off-by: James Almer <jamrial@gmail.com>
This commit is contained in:
parent
ae4c364e92
commit
5a27aa7dc7
@ -408,6 +408,8 @@ int LLVMFuzzerTestOneInput(const uint8_t *data, size_t size) {
|
||||
ctx->debug |= FF_DEBUG_MB_TYPE;
|
||||
if (flags64 & 8)
|
||||
ctx->export_side_data |= AV_CODEC_EXPORT_DATA_VIDEO_ENC_PARAMS;
|
||||
if (flags64 & 0x10)
|
||||
ctx->err_recognition |= AV_EF_CRCCHECK;
|
||||
|
||||
if (extradata_size < size) {
|
||||
ctx->extradata = av_mallocz(extradata_size + AV_INPUT_BUFFER_PADDING_SIZE);
|
||||
|
Loading…
x
Reference in New Issue
Block a user