[SCM] libav/experimental: Use %"PRIdPTR" instead of %d to silence gcc warning about type mismatch.

siretart at users.alioth.debian.org siretart at users.alioth.debian.org
Sun Jun 30 17:21:09 UTC 2013


The following commit has been merged in the experimental branch:
commit 281bf84fbd27ddab1290bb284bb49662a247fc26
Author: Justin Ruggles <justin.ruggles at gmail.com>
Date:   Thu Dec 30 04:09:44 2010 +0000

    Use %"PRIdPTR" instead of %d to silence gcc warning about type mismatch.
    
    Originally committed as revision 26164 to svn://svn.ffmpeg.org/ffmpeg/trunk

diff --git a/libavcodec/flac_parser.c b/libavcodec/flac_parser.c
index 7337c02..23e32dc 100644
--- a/libavcodec/flac_parser.c
+++ b/libavcodec/flac_parser.c
@@ -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 %d\n",
+                   "couldn't reallocate buffer of size %"PRIdPTR"\n",
                    (read_end - read_start) + av_fifo_size(fpc->fifo_buf));
             goto handle_error;
         }

-- 
Libav/FFmpeg packaging



More information about the pkg-multimedia-commits mailing list