]> git.sesse.net Git - ffmpeg/commitdiff
tools/target_dec_fuzzer: Print samples decoded like pixels
authorMichael Niedermayer <michael@niedermayer.cc>
Wed, 25 Sep 2019 18:41:42 +0000 (20:41 +0200)
committerMichael Niedermayer <michael@niedermayer.cc>
Thu, 26 Sep 2019 19:02:34 +0000 (21:02 +0200)
Reviewed-by: Paul B Mahol <onemda@gmail.com>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
tools/target_dec_fuzzer.c

index 6c670d8eb9df2c31dca6b4e4122fc79a765d6e8c..4af7b26e545cdf5dd28800baf4bb246f767b5d29 100644 (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);