[SCM] libav/experimental: Use %td instead of %PRIdPTR. The argument has type ptrdiff_t.

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 b3f5c21a9122fd587f251a17bc6d011112dd5267
Author: Justin Ruggles <justin.ruggles at gmail.com>
Date:   Thu Dec 30 13:34:31 2010 +0000

    Use %td instead of %PRIdPTR. The argument has type ptrdiff_t.
    
    Originally committed as revision 26166 to svn://svn.ffmpeg.org/ffmpeg/trunk

diff --git a/libavcodec/flac_parser.c b/libavcodec/flac_parser.c
index 23e32dc..4ba3203 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 %"PRIdPTR"\n",
+                   "couldn't reallocate buffer of size %td\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