Fix gcc error.

encmain.c:433:13: error: format ‘%llu’ expects argument of type ‘long long unsigned int’, but argument 4 has type ‘uint64_t’
This commit is contained in:
Ari Koivula 2015-01-23 15:50:14 +02:00
parent 5d16fa6c4f
commit c940ccb549

View file

@ -429,7 +429,7 @@ int main(int argc, char *argv[])
// Print statistics of the coding
fprintf(stderr, " Processed %d frames, %10llu bits AVG PSNR: %2.4f %2.4f %2.4f\n",
stat_frames, bitstream_length * 8,
stat_frames, (long long unsigned int)bitstream_length * 8,
psnr[0] / stat_frames, psnr[1] / stat_frames, psnr[2] / stat_frames);
fprintf(stderr, " Total CPU time: %.3f s.\n", ((float)(clock() - start_time)) / CLOCKS_PER_SEC);