[FFmpeg-cvslog] tools/target_dem_fuzzer: ignore avformat_find_stream_info() failure

Michael Niedermayer git at videolan.org
Fri Jul 19 23:51:10 EEST 2019


ffmpeg | branch: master | Michael Niedermayer <michael at niedermayer.cc> | Thu Jun 13 13:00:47 2019 +0200| [ed4c6ce750cf3542f30762334fb1d6696e4d79c6] | committer: Michael Niedermayer

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 at niedermayer.cc>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=ed4c6ce750cf3542f30762334fb1d6696e4d79c6
---

 tools/target_dem_fuzzer.c | 2 --
 1 file changed, 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);
 



More information about the ffmpeg-cvslog mailing list