Use %td instead of %PRIdPTR. The argument has type ptrdiff_t.
authorJustin Ruggles <justin.ruggles@gmail.com>
Thu, 30 Dec 2010 13:34:31 +0000 (13:34 +0000)
committerJustin Ruggles <justin.ruggles@gmail.com>
Thu, 30 Dec 2010 13:34:31 +0000 (13:34 +0000)
Originally committed as revision 26166 to svn://svn.ffmpeg.org/ffmpeg/trunk

libavcodec/flac_parser.c

index 23e32dc..4ba3203 100644 (file)
@@ -563,7 +563,7 @@ static int flac_parse(AVCodecParserContext *s, AVCodecContext *avctx,
         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 %"PRIdPTR"\n",
+                   "couldn't reallocate buffer of size %td\n",
                    (read_end - read_start) + av_fifo_size(fpc->fifo_buf));
             goto handle_error;
         }