Message ID | 20180706103442.15743-1-michael@niedermayer.cc |
---|---|
State | Accepted |
Commit | 5c0fd9df87ba5d6024cf61c7da396979c79f1856 |
Headers | show |
On Fri, Jul 06, 2018 at 12:34:41PM +0200, Michael Niedermayer wrote: > Signed-off-by: Michael Niedermayer <michael@niedermayer.cc> > --- > tools/target_dec_fuzzer.c | 1 + > 1 file changed, 1 insertion(+) will apply [...]
diff --git a/tools/target_dec_fuzzer.c b/tools/target_dec_fuzzer.c index 3146bf2c1a..a94d5e6a92 100644 --- a/tools/target_dec_fuzzer.c +++ b/tools/target_dec_fuzzer.c @@ -193,6 +193,7 @@ int LLVMFuzzerTestOneInput(const uint8_t *data, size_t size) { av_free(parser_avctx); return 0; // Failure of avcodec_open2() does not imply that a issue was found } + parser_avctx->codec_id = ctx->codec_id; FDBCreate(&buffer); int got_frame;
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc> --- tools/target_dec_fuzzer.c | 1 + 1 file changed, 1 insertion(+)