[Ffmpeg-devel] [PATCH] PRId64 / PRIx64 changes

Michael Niedermayer michaelni
Wed Nov 1 23:03:03 CET 2006


Hi

On Wed, Nov 01, 2006 at 09:28:38PM +0100, Steve Lhomme wrote:
> Michael Niedermayer wrote:
> >Hi
> >
> >On Mon, Oct 23, 2006 at 06:32:04PM +0200, Steve Lhomme wrote:
> >>Hi,
> >>
> >>Here is a patch to replace most of the %lld and %llx into their 
> >>(cleaner) PRI*64 counterparts.
> >>
> >>Steve
> >
> >[...]
> >>-    printf("get_v %5lld / %llX in %s %s:%d\n", v, v, file, func, line);
> >>+    printf("get_v %5lld / %"PRIx64" in %s %s:%d\n", v, v, file, func, 
> >>line);
> >
> >wrong, should be PRIX64 and you missed the %5lld (and there are more of 
> >these)
> 
> Here it is with PRIX64 and %(whatever)ll(whatever).

looks ok, i hope none where actual long long, but even if, the type
missmatches with the patch applied would still decrease ...

[...]
-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

In the past you could go to a library and read, borrow or copy any book
Today you'd get arrested for mere telling someone where the library is




More information about the ffmpeg-devel mailing list