Use correct PRId64 instead of "lld" in printf string, fixes compiler warnings.

Originally committed as revision 29107 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
release/0.6
Reimar Döffinger 16 years ago
parent 6117ffbe90
commit 4ed886430c
  1. 2
      libswscale/swscale-example.c

@ -132,7 +132,7 @@ static int doTest(uint8_t *ref[4], int refStride[4], int w, int h, int srcFormat
ssdV/= w*h/4; ssdV/= w*h/4;
ssdA/= w*h; ssdA/= w*h;
printf(" %s %dx%d -> %s %4dx%4d flags=%2d SSD=%5lld,%5lld,%5lld,%5lld\n", printf(" %s %dx%d -> %s %4dx%4d flags=%2d SSD=%5"PRId64",%5"PRId64",%5"PRId64",%5"PRId64"\n",
sws_format_name(srcFormat), srcW, srcH, sws_format_name(srcFormat), srcW, srcH,
sws_format_name(dstFormat), dstW, dstH, sws_format_name(dstFormat), dstW, dstH,
flags, ssdY, ssdU, ssdV, ssdA); flags, ssdY, ssdU, ssdV, ssdA);

Loading…
Cancel
Save