aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Niedermayer <michael@niedermayer.cc>2019-07-31 10:34:21 +0200
committerMichael Niedermayer <michael@niedermayer.cc>2019-08-13 16:48:38 +0200
commit1e2e47e348111636ff1b06709985294fe0dff1af (patch)
tree5b62de646e1db381b8c7559c4def99797b9af909
parent74d4bc0fa0e0f63b89ce020893c61e6703f3f282 (diff)
downloadffmpeg-1e2e47e348111636ff1b06709985294fe0dff1af.tar.gz
tools/target_dec_fuzzer: Print max_pixels and iterations at the end
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
-rw-r--r--tools/target_dec_fuzzer.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/tools/target_dec_fuzzer.c b/tools/target_dec_fuzzer.c
index 507ac429fa..e6eed88781 100644
--- a/tools/target_dec_fuzzer.c
+++ b/tools/target_dec_fuzzer.c
@@ -296,6 +296,8 @@ maximums_reached:
decode_handler(ctx, frame, &got_frame, &avpkt);
} while (got_frame == 1 && it++ < maxiteration);
+ fprintf(stderr, "pixels decoded: %"PRId64", iterations: %d\n", ec_pixels, it);
+
av_frame_free(&frame);
avcodec_free_context(&ctx);
avcodec_free_context(&parser_avctx);