[FFmpeg-devel] [PATCH] libavdevice/v4l2.c: av_log DEBUG cast
Fri Feb 13 14:18:56 CET 2009
On Tue, 2009-02-10 at 19:41 +0000, M?ns Rullg?rd wrote:
> 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.
Does this mean we can use %Lu?
Since that seems to work on both 32 and 64 bit Linux?
> > 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
More information about the ffmpeg-devel