[FFmpeg-devel] [PATCH] examples/encoding.c: remove unnecessary includes

Stefano Sabatini stefano.sabatini-lala at poste.it
Sun Jul 10 18:07:11 CEST 2011


On date Saturday 2011-07-09 23:01:50 +0200, Michael Niedermayer encoded:
> On Sat, Jul 09, 2011 at 03:25:55PM +0200, Stefano Sabatini wrote:
> > Simplify.
> > ---
> >  doc/examples/encoding.c |    8 --------
> >  1 files changed, 0 insertions(+), 8 deletions(-)
> > 
> > diff --git a/doc/examples/encoding.c b/doc/examples/encoding.c
> > index cb9c0bb..cb247ff 100644
> > --- a/doc/examples/encoding.c
> > +++ b/doc/examples/encoding.c
> > @@ -28,14 +28,6 @@
> >   * format handling
> >   */
> >  
> > -#include <stdlib.h>
> > -#include <stdio.h>
> > -#include <string.h>
> > -
> > -#ifdef HAVE_AV_CONFIG_H
> > -#undef HAVE_AV_CONFIG_H
> > -#endif
> 
> if HAVE_AV_CONFIG_H is undefined after this change then ok

HAVE_AV_CONFIG_H is not required as it is only used when building
FFmpeg, examples now are completely detached from the FFmpeg build
system.

Applied.
-- 
FFmpeg = Forgiving and Foolish Mind-dumbing Philosofic Exploitable Governor


More information about the ffmpeg-devel mailing list