tools/target_dec_fuzzer: Print max_pixels and iterations at the end

Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
pull/321/head^2
Michael Niedermayer 5 years ago
parent 74d4bc0fa0
commit 1e2e47e348
  1. 2
      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);

Loading…
Cancel
Save