tools/target_dem_fuzzer: ignore avformat_find_stream_info() failure
authorMichael Niedermayer <michael@niedermayer.cc>
Thu, 13 Jun 2019 11:00:47 +0000 (13:00 +0200)
committerMichael Niedermayer <michael@niedermayer.cc>
Fri, 19 Jul 2019 09:27:55 +0000 (11:27 +0200)
Such a failure should not be fatal and its worth testing this path too

Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
tools/target_dem_fuzzer.c

index b51c766..4095996 100644 (file)
@@ -141,8 +141,6 @@ int LLVMFuzzerTestOneInput(const uint8_t *data, size_t size) {
     }
 
     ret = avformat_find_stream_info(avfmt, NULL);
-    if (ret < 0)
-        goto end;
 
     av_init_packet(&pkt);