mirror of https://git.ffmpeg.org/ffmpeg.git
tools/target_dec_fuzzer: Print max_pixels and iterations at the end
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
This commit is contained in:
parent
74d4bc0fa0
commit
1e2e47e348
|
@ -296,6 +296,8 @@ maximums_reached:
|
||||||
decode_handler(ctx, frame, &got_frame, &avpkt);
|
decode_handler(ctx, frame, &got_frame, &avpkt);
|
||||||
} while (got_frame == 1 && it++ < maxiteration);
|
} while (got_frame == 1 && it++ < maxiteration);
|
||||||
|
|
||||||
|
fprintf(stderr, "pixels decoded: %"PRId64", iterations: %d\n", ec_pixels, it);
|
||||||
|
|
||||||
av_frame_free(&frame);
|
av_frame_free(&frame);
|
||||||
avcodec_free_context(&ctx);
|
avcodec_free_context(&ctx);
|
||||||
avcodec_free_context(&parser_avctx);
|
avcodec_free_context(&parser_avctx);
|
||||||
|
|
Loading…
Reference in New Issue