[FFmpeg-devel] [PATCH] fix some 'defined but not used' warnings

Diego Biurrun diego
Fri Jul 11 09:58:19 CEST 2008


On Tue, Jul 08, 2008 at 10:37:43AM +0200, Diego Biurrun wrote:
> Here is a patch that moves some functions and/or ifdefs around to
> avoid warnings that I noticed while compiling MPlayer.  They should
> turn up in FFmpeg when when configuring with --disable-encoders or
> --disable-muxers.
> 
> The attached patch looks trivial and correct to me, so I will apply it
> on Friday unless somebody objects.

Applied in several steps.

> I also changed some ifdefs to be more specific, i.e.
> 
>   #ifdef CONFIG_ENCODERS --> #ifdef CONFIG_DVVIDEO_ENCODER
> 
> Is this kind of cleanup welcome?  I might sit down and do more of it
> then.

I will look into it if I find the time.

Diego




More information about the ffmpeg-devel mailing list