git.videolan.org
/
ffmpeg.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
74d4bc0
)
tools/target_dec_fuzzer: Print max_pixels and iterations at the end
author
Michael Niedermayer
<michael@niedermayer.cc>
Wed, 31 Jul 2019 08:34:21 +0000
(10:34 +0200)
committer
Michael Niedermayer
<michael@niedermayer.cc>
Tue, 13 Aug 2019 14:48:38 +0000
(16:48 +0200)
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
tools/target_dec_fuzzer.c
patch
|
blob
|
history
diff --git
a/tools/target_dec_fuzzer.c
b/tools/target_dec_fuzzer.c
index
507ac42
..
e6eed88
100644
(file)
--- 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);