summaryrefslogtreecommitdiff
path: root/tools/target_dem_fuzzer.c
diff options
context:
space:
mode:
authorMichael Niedermayer <michael@niedermayer.cc>2019-06-13 13:00:47 +0200
committerMichael Niedermayer <michael@niedermayer.cc>2019-07-19 11:27:55 +0200
commited4c6ce750cf3542f30762334fb1d6696e4d79c6 (patch)
tree38dd1d02ca734d18905f6b1e708fed3f56b1c65e /tools/target_dem_fuzzer.c
parent153c60752558369b98dce0b7a0ca7acc687fa630 (diff)
tools/target_dem_fuzzer: ignore avformat_find_stream_info() failure
Such a failure should not be fatal and its worth testing this path too Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
Diffstat (limited to 'tools/target_dem_fuzzer.c')
-rw-r--r--tools/target_dem_fuzzer.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/tools/target_dem_fuzzer.c b/tools/target_dem_fuzzer.c
index b51c766878..409599636d 100644
--- a/tools/target_dem_fuzzer.c
+++ b/tools/target_dem_fuzzer.c
@@ -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);