[FFmpeg-cvslog] r26164 - trunk/libavcodec/flac_parser.c

Justin Ruggles justin.ruggles
Thu Dec 30 14:35:27 CET 2010


On 12/30/2010 12:16 AM, Uoti Urpala wrote:

> 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.


fixed.

thanks,
Justin



More information about the ffmpeg-cvslog mailing list