[FFmpeg-cvslog] r12432 - trunk/libavcodec/avcodec.h

Reimar Döffinger Reimar.Doeffinger
Fri Mar 14 09:13:23 CET 2008


On Fri, Mar 14, 2008 at 01:42:25AM -0400, Rich Felker wrote:
> On Thu, Mar 13, 2008 at 07:10:58PM +0100, diego wrote:
> > Author: diego
> > Date: Thu Mar 13 19:10:58 2008
> > New Revision: 12432
> > 
> > Log:
> > This file does not use size_t, so no need to #include <sys/types.h>.
> > 
> > 
> > Modified:
> >    trunk/libavcodec/avcodec.h
> > 
> > Modified: trunk/libavcodec/avcodec.h
> > ==============================================================================
> > --- trunk/libavcodec/avcodec.h	(original)
> > +++ trunk/libavcodec/avcodec.h	Thu Mar 13 19:10:58 2008
> > @@ -28,7 +28,6 @@
> >  
> >  
> >  #include "libavutil/avutil.h"
> > -#include <sys/types.h> /* size_t */
> 
> As before, sys/types.h is not the right header for it. stddef.h is proper.

No, none is proper here since it is unused, thus it was removed ;-)




More information about the ffmpeg-cvslog mailing list