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

Michael Niedermayer michaelni at gmx.at
Sat Jul 9 23:01:50 CEST 2011


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

[...]

-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

it is not once nor twice but times without number that the same ideas make
their appearance in the world. -- Aristotle
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20110709/a45c7bb0/attachment.asc>


More information about the ffmpeg-devel mailing list