[FFmpeg-devel] [PATCH] examples/muxing: remove unnecessary headers

Clément Bœsch ubitux at gmail.com
Thu Aug 30 22:04:49 CEST 2012


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...

-- 
Clément B.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 490 bytes
Desc: not available
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20120830/e1298252/attachment.asc>


More information about the ffmpeg-devel mailing list