mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-06-28 03:18:55 +08:00
Use %"PRIdPTR" instead of %d to silence gcc warning about type mismatch.
Originally committed as revision 26164 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
@ -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 %d\n",
|
"couldn't reallocate buffer of size %"PRIdPTR"\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;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user