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

Diego Biurrun diego
Tue Jul 8 10:37:43 CEST 2008


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.

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.

The attached patch looks trivial and correct to me, so I will apply it
on Friday unless somebody objects.

Diego
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ff.diff
Type: text/x-diff
Size: 3937 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20080708/af80aa14/attachment.diff>



More information about the ffmpeg-devel mailing list