From b3f5c21a9122fd587f251a17bc6d011112dd5267 Mon Sep 17 00:00:00 2001 From: Justin Ruggles Date: Thu, 30 Dec 2010 13:34:31 +0000 Subject: Use %td instead of %PRIdPTR. The argument has type ptrdiff_t. Originally committed as revision 26166 to svn://svn.ffmpeg.org/ffmpeg/trunk --- libavcodec/flac_parser.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libavcodec/flac_parser.c') diff --git a/libavcodec/flac_parser.c b/libavcodec/flac_parser.c index 23e32dc564..4ba3203180 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; } -- cgit v1.2.3