[FFmpeg-cvslog] r26164 - trunk/libavcodec/flac_parser.c

jbr subversion
Thu Dec 30 05:09:44 CET 2010


Author: jbr
Date: Thu Dec 30 05:09:44 2010
New Revision: 26164

Log:
Use %"PRIdPTR" instead of %d to silence gcc warning about type mismatch.

Modified:
   trunk/libavcodec/flac_parser.c

Modified: trunk/libavcodec/flac_parser.c
==============================================================================
--- trunk/libavcodec/flac_parser.c	Thu Dec 30 05:09:39 2010	(r26163)
+++ trunk/libavcodec/flac_parser.c	Thu Dec 30 05:09:44 2010	(r26164)
@@ -563,7 +563,7 @@ static int flac_parse(AVCodecParserConte
         if (av_fifo_realloc2(fpc->fifo_buf,
                              (read_end - read_start) + av_fifo_size(fpc->fifo_buf)) < 0) {
             av_log(avctx, AV_LOG_ERROR,
-                   "couldn't reallocate buffer of size %d\n",
+                   "couldn't reallocate buffer of size %"PRIdPTR"\n",
                    (read_end - read_start) + av_fifo_size(fpc->fifo_buf));
             goto handle_error;
         }



More information about the ffmpeg-cvslog mailing list