[FFmpeg-devel] [PATCH] libavdevice/v4l2.c: av_log DEBUG cast

Måns Rullgård mans
Tue Feb 10 20:41:23 CET 2009

Reimar D?ffinger <Reimar.Doeffinger at stud.uni-karlsruhe.de> writes:

> On Tue, Feb 10, 2009 at 06:28:52PM +0000, M?ns Rullg?rd wrote:
>> Luca Abeni <lucabe72 at email.it> writes:
>> > 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.
> Please do not use "ll", it does not work on MinGW.

That doesn't matter, since the entire file is Linux-specific.

> If __u64 is indeed not uint64_t, you can still cast it to that.

__u64 is some 64-bit type, not necessarily the same as uint64_t.
IIRC, there is no modifier that will match the __u64 type on all

M?ns Rullg?rd
mans at mansr.com

More information about the ffmpeg-devel mailing list