[FFmpeg-devel] [PATCH] examples/muxing: remove unnecessary headers
Stefano Sabatini
stefasab at gmail.com
Sun Sep 2 10:51:55 CEST 2012
On date Thursday 2012-08-30 22:04:49 +0200, Clément Bœsch encoded:
> On Thu, Aug 30, 2012 at 09:59:15PM +0200, Stefano Sabatini wrote:
> > ---
> > doc/examples/muxing.c | 3 ---
> > 1 files changed, 0 insertions(+), 3 deletions(-)
> >
> > diff --git a/doc/examples/muxing.c b/doc/examples/muxing.c
> > index 9bcf53f..0c9c8dd 100644
> > --- a/doc/examples/muxing.c
> > +++ b/doc/examples/muxing.c
> > @@ -28,9 +28,6 @@
> > * The default codecs are used.
> > */
> >
> > -#include <stdlib.h>
> > -#include <stdio.h>
> > -#include <string.h>
> > #include <math.h>
> >
> > #include <libavutil/mathematics.h>
>
> Not so sure about that; stdio is needed for the fprintf stuff for example,
> and I don't think that's good practice to remove it because a ffmpeg
> header seems to do that include (and it could be removed at some point
> without any bump).
>
> I didn't check for the other headers...
Dropped, I don't have time/will to check for that.
--
FFmpeg = Forgiving Fascinating Magnificient Pitiless Evil Guide
More information about the ffmpeg-devel
mailing list