diff mbox

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

Message ID 20190613110934.29206-1-michael@niedermayer.cc
State Accepted
Commit ed4c6ce750cf3542f30762334fb1d6696e4d79c6
Headers show

Commit Message

Michael Niedermayer June 13, 2019, 11:09 a.m. UTC
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 | 2 --
 1 file changed, 2 deletions(-)

Comments

Michael Niedermayer July 19, 2019, 7:37 p.m. UTC | #1
On Thu, Jun 13, 2019 at 01:09:34PM +0200, Michael Niedermayer wrote:
> 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 | 2 --
>  1 file changed, 2 deletions(-)

will apply

[...]
diff mbox

Patch

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);