aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/flac_parser.c
diff options
context:
space:
mode:
authorJustin Ruggles <justin.ruggles@gmail.com>2010-12-30 04:09:44 +0000
committerJustin Ruggles <justin.ruggles@gmail.com>2010-12-30 04:09:44 +0000
commit281bf84fbd27ddab1290bb284bb49662a247fc26 (patch)
tree51ea1b00f29dee1aeb062b643c6d060843804bb8 /libavcodec/flac_parser.c
parent4b5d4720c1c46e8a80b945854a6dec5f681e11c0 (diff)
downloadffmpeg-281bf84fbd27ddab1290bb284bb49662a247fc26.tar.gz
Use %"PRIdPTR" instead of %d to silence gcc warning about type mismatch.
Originally committed as revision 26164 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/flac_parser.c')
-rw-r--r--libavcodec/flac_parser.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/flac_parser.c b/libavcodec/flac_parser.c
index 7337c027b6..23e32dc564 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;
}