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:
Michael Niedermayer 2019-07-31 10:34:21 +02:00
parent 74d4bc0fa0
commit 1e2e47e348
1 changed files with 2 additions and 0 deletions

View File

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