[FFmpeg-devel] [PATCH] libavdevice/v4l2.c: av_log DEBUG cast
Måns Rullgård
mans
Tue Feb 10 19:28:52 CET 2009
Luca Abeni <lucabe72 at email.it> writes:
> Luca Abeni wrote:
>> Hi,
>>
>> Patrik Kullman wrote:
>>> (long unsigned int) standard.id in av_log debug message
>>> Prevents warning about wrong type in formatting.
>>
>> which kind of warning are you seeing?
>> According to the documentation, id should be a __u64,
> [...]
>
> Looks like the correct patch is changing "PRIu64" in Lu (linux's __u64
> is not uint64_t...)
%Lu is not a standard format specifier. The standard modifier for
"long long" is ll, but I'm not sure what the actual underlying type
here is.
--
M?ns Rullg?rd
mans at mansr.com
More information about the ffmpeg-devel
mailing list