diff libmpdemux/muxer_avi.c @ 34139:cc8dfde2b6c5

Fix off_t printf conversion specifiers and related warnings.
author diego
date Thu, 20 Oct 2011 21:49:30 +0000
parents b4e4b6ecb471
children beafae9de2be
line wrap: on
line diff
--- a/libmpdemux/muxer_avi.c	Thu Oct 20 16:42:31 2011 +0000
+++ b/libmpdemux/muxer_avi.c	Thu Oct 20 21:49:30 2011 +0000
@@ -486,7 +486,9 @@
   } else {
     if (stream_tell(muxer->stream) != MOVIALIGN) {
 	mp_msg(MSGT_MUXER, MSGL_ERR, "Opendml superindex is too big for reserved space!\n");
-	mp_msg(MSGT_MUXER, MSGL_ERR, "Expected filepos %d, real filepos %ld, missing space %ld\n", MOVIALIGN, stream_tell(muxer->stream), stream_tell(muxer->stream)-MOVIALIGN);
+        mp_msg(MSGT_MUXER, MSGL_ERR,
+               "Expected filepos %d, real filepos %"PRIu64"d, missing space %"PRIu64"d\n",
+               MOVIALIGN, stream_tell(muxer->stream), stream_tell(muxer->stream) - MOVIALIGN);
 	mp_msg(MSGT_MUXER, MSGL_ERR, "Try increasing MOVIALIGN in libmpdemux/muxer_avi.c\n");
     }
     write_avi_list(muxer->stream,listtypeAVIMOVIE,muxer->movi_end-stream_tell(muxer->stream)-12);