Print int64_t variable `area` with PRIi64 format The lli format is for the long long type. Change-Id: If3df83148026a0ad867719f570b2d5f11f92f2c4
diff --git a/av1/encoder/encoder.c b/av1/encoder/encoder.c index d6161ab..e3138b5 100644 --- a/av1/encoder/encoder.c +++ b/av1/encoder/encoder.c
@@ -11,6 +11,7 @@ #include <assert.h> #include <float.h> +#include <inttypes.h> #include <limits.h> #include <math.h> #include <stdbool.h> @@ -2390,9 +2391,9 @@ "%i\n", count_palette, count_intrabc, count_photo, (int)(ceil(width / kBlockWidth) * ceil(height / kBlockHeight))); - fprintf(stats_file, "sc palette value: %i, threshold %lli\n", + fprintf(stats_file, "sc palette value: %i, threshold %" PRIi64 "\n", (count_palette - count_photo / 16) * kBlockArea * 10, area); - fprintf(stats_file, "sc ibc value: %i, threshold %lli\n", + fprintf(stats_file, "sc ibc value: %i, threshold %" PRIi64 "\n", (count_intrabc - count_photo / 16) * kBlockArea * 12, area); fprintf(stats_file, "allow sct: %i, allow ibc: %i\n", features->allow_screen_content_tools, features->allow_intrabc);