[FFmpeg-cvslog] r24961 - trunk/libavformat/mmsh.c

rbultje subversion
Sun Aug 29 01:56:57 CEST 2010


Author: rbultje
Date: Sun Aug 29 01:56:56 2010
New Revision: 24961

Log:
Fix two compiler arnings related to printf-format of sizeof()-statements.

Modified:
   trunk/libavformat/mmsh.c

Modified: trunk/libavformat/mmsh.c
==============================================================================
--- trunk/libavformat/mmsh.c	Sun Aug 29 01:55:26 2010	(r24960)
+++ trunk/libavformat/mmsh.c	Sun Aug 29 01:56:56 2010	(r24961)
@@ -117,7 +117,7 @@ static int read_data_packet(MMSHContext 
     int res;
     if (len > sizeof(mms->in_buffer)) {
         av_log(NULL, AV_LOG_ERROR,
-               "Data packet length %d exceeds the in_buffer size %d\n",
+               "Data packet length %d exceeds the in_buffer size %zu\n",
                len, sizeof(mms->in_buffer));
         return AVERROR(EIO);
     }
@@ -192,7 +192,7 @@ static int get_http_header_data(MMSHCont
             if (len) {
                 if (len > sizeof(mms->in_buffer)) {
                     av_log(NULL, AV_LOG_ERROR,
-                           "Other packet len = %d exceed the in_buffer size %d\n",
+                           "Other packet len = %d exceed the in_buffer size %zu\n",
                            len, sizeof(mms->in_buffer));
                     return AVERROR(EIO);
                 }



More information about the ffmpeg-cvslog mailing list