[FFmpeg-cvslog] r24218 - trunk/libavcodec/wmavoice.c

diego subversion
Mon Jul 12 21:36:35 CEST 2010


Author: diego
Date: Mon Jul 12 21:36:35 2010
New Revision: 24218

Log:
Use correct length modifier for size comparison in printf expression, fixes:
libavcodec/wmavoice.c:1906: warning: format `%lu' expects type `long unsigned int', but argument 5 has type `unsigned int'
approved by Ronald and Mans on IRC

Modified:
   trunk/libavcodec/wmavoice.c

Modified: trunk/libavcodec/wmavoice.c
==============================================================================
--- trunk/libavcodec/wmavoice.c	Mon Jul 12 20:52:03 2010	(r24217)
+++ trunk/libavcodec/wmavoice.c	Mon Jul 12 21:36:35 2010	(r24218)
@@ -1902,7 +1902,7 @@ static int wmavoice_decode_packet(AVCode
 
     if (*data_size < 480 * sizeof(float)) {
         av_log(ctx, AV_LOG_ERROR,
-               "Output buffer too small (%d given - %lu needed)\n",
+               "Output buffer too small (%d given - %zu needed)\n",
                *data_size, 480 * sizeof(float));
         return -1;
     }



More information about the ffmpeg-cvslog mailing list