Browse Source

tools/target_dec_fuzzer: Print samples decoded like pixels

Reviewed-by: Paul B Mahol <onemda@gmail.com>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
tags/n4.3
Michael Niedermayer 5 years ago
parent
commit
ec4ad6fb9e
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      tools/target_dec_fuzzer.c

+ 1
- 1
tools/target_dec_fuzzer.c View File

@@ -297,7 +297,7 @@ 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);
fprintf(stderr, "pixels decoded: %"PRId64", samples decoded: %"PRId64", iterations: %d\n", ec_pixels, nb_samples, it);

av_frame_free(&frame);
avcodec_free_context(&ctx);


Loading…
Cancel
Save