[Ffmpeg-devel] [PATCH] Remove PRI macros definition

Michael Niedermayer michaelni
Sat Feb 24 20:41:43 CET 2007


Hi

On Sat, Feb 24, 2007 at 07:09:53PM +0000, M?ns Rullg?rd wrote:
> ramiro at lisha.ufsc.br writes:
> 
> > Hello,
> >
> > Attached patch removes defining PRI macros to some random value (based on
> > gcc) that may or may not work...
> >
> > Ramiro Polla
> >
> > Index: libavutil/internal.h
> > ===================================================================
> > --- libavutil/internal.h	(revision 8117)
> > +++ libavutil/internal.h	(working copy)
> > @@ -46,34 +46,6 @@
> >  #define M_PI    3.14159265358979323846
> >  #endif
> >  
> > -#ifndef PRId64
> > -#define PRId64 "lld"
> > -#endif
> > -
> > -#ifndef PRIu64
> > -#define PRIu64 "llu"
> > -#endif
> > -
> > -#ifndef PRIx64
> > -#define PRIx64 "llx"
> > -#endif
> > -
> > -#ifndef PRIX64
> > -#define PRIX64 "llX"
> > -#endif
> > -
> > -#ifndef PRId32
> > -#define PRId32 "d"
> > -#endif
> > -
> > -#ifndef PRIdFAST16
> > -#define PRIdFAST16 PRId32
> > -#endif
> > -
> > -#ifndef PRIdFAST32
> > -#define PRIdFAST32 PRId32
> > -#endif
> > -
> >  #ifndef INT16_MIN
> >  #define INT16_MIN       (-0x7fff-1)
> >  #endif
> 
> OK with me.

with me too

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

Why not whip the teacher when the pupil misbehaves? -- Diogenes of Sinope
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20070224/6cd96706/attachment.pgp>



More information about the ffmpeg-devel mailing list