[FFmpeg-devel] [PATCH] avfilter/graphmonitor: use %z when printing size_t

Carl Eugen Hoyos ceffmpeg at gmail.com
Mon Nov 19 16:23:26 EET 2018


2018-11-19 12:34 GMT+01:00, Paul B Mahol <onemda at gmail.com>:
> On 11/19/18, Peter Ross <pross at xvid.org> wrote:
>> ---
>> 32-bit target compiler warning.
>>
>>  libavfilter/f_graphmonitor.c | 2 +-
>>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> Not acceptable. Where this happens?

This happened when you (and others) agreed to a patch adding a
function that returns size_t. ff_inlink_queued_frames() is not public
so the alternative to this patch is to change the return type or make
frames 64bit which seems less straight-forward.
(Or it happened when FFFrameQueue->queued was defined size_t.)

Carl Eugen


More information about the ffmpeg-devel mailing list