[FFmpeg-cvslog] r24359 - trunk/libavformat/mmst.c

rbultje subversion
Tue Jul 20 17:05:45 CEST 2010


Author: rbultje
Date: Tue Jul 20 17:05:45 2010
New Revision: 24359

Log:
Fix a compile warning when compiling with DEBUG=1.

Patch by Zhentan Feng <spyfeng gmail com>.

Modified:
   trunk/libavformat/mmst.c

Modified: trunk/libavformat/mmst.c
==============================================================================
--- trunk/libavformat/mmst.c	Tue Jul 20 17:01:06 2010	(r24358)
+++ trunk/libavformat/mmst.c	Tue Jul 20 17:05:45 2010	(r24359)
@@ -444,7 +444,7 @@ static int asf_header_parser(MMSContext 
     while(end - p >= sizeof(ff_asf_guid) + 8) {
         uint64_t chunksize = AV_RL64(p + sizeof(ff_asf_guid));
         if (!chunksize || chunksize > end - p) {
-            dprintf(NULL, "chunksize is exceptional value:%d!\n", chunksize);
+            dprintf(NULL, "chunksize is exceptional value:%"PRId64"!\n", chunksize);
             return -1;
         }
         if (!memcmp(p, ff_asf_file_header, sizeof(ff_asf_guid))) {



More information about the ffmpeg-cvslog mailing list