[FFmpeg-cvslog] r26164 - trunk/libavcodec/flac_parser.c
Uoti Urpala
uoti.urpala
Thu Dec 30 06:16:00 CET 2010
On Thu, 2010-12-30 at 05:09 +0100, jbr wrote:
> Use %"PRIdPTR" instead of %d to silence gcc warning about type mismatch.
> 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));
Should be "td" instead of PRIdPTR. The argument has type ptrdiff_t, not
intptr_t.
More information about the ffmpeg-cvslog
mailing list