[FFmpeg-devel] [PATCH] move h264data.h #defines to a better place

Diego Biurrun diego
Mon Nov 24 16:57:47 CET 2008


On Mon, Nov 24, 2008 at 04:28:55PM +0100, Michael Niedermayer wrote:
> On Mon, Nov 24, 2008 at 03:32:04PM +0100, Diego Biurrun wrote:
> > Here is a patch to a move a few #defines from h264data.h to h264.h and
> > h264.c, where they fit better.
> > 
> > --- libavcodec/h264.c	(revision 15924)
> > +++ libavcodec/h264.c	(working copy)
> > @@ -48,6 +48,10 @@
> >  
> > +#define MB_TYPE_8x8DCT     0x01000000
> > +#define IS_REF0(a)       ((a)&MB_TYPE_REF0)
> > +#define IS_8x8DCT(a)     ((a)&MB_TYPE_8x8DCT)
> > +
> > --- libavcodec/h264.h	(revision 15924)
> > +++ libavcodec/h264.h	(working copy)
> > @@ -92,6 +92,8 @@
> >  
> > +#define MB_TYPE_REF0 MB_TYPE_ACPRED //dirty but it fits in 16 bit
> > +
> 
> id move all the 4 to h264.h

OK, will do that in a moment.

Diego




More information about the ffmpeg-devel mailing list