Use %td instead of %PRIdPTR. The argument has type ptrdiff_t.
Originally committed as revision 26166 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
parent
78c8b4b758
commit
b3f5c21a91
@ -563,7 +563,7 @@ static int flac_parse(AVCodecParserContext *s, AVCodecContext *avctx,
|
|||||||
if (av_fifo_realloc2(fpc->fifo_buf,
|
if (av_fifo_realloc2(fpc->fifo_buf,
|
||||||
(read_end - read_start) + av_fifo_size(fpc->fifo_buf)) < 0) {
|
(read_end - read_start) + av_fifo_size(fpc->fifo_buf)) < 0) {
|
||||||
av_log(avctx, AV_LOG_ERROR,
|
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));
|
(read_end - read_start) + av_fifo_size(fpc->fifo_buf));
|
||||||
goto handle_error;
|
goto handle_error;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user