[MPlayer-dev-eng] [PATCH] Add -Wno-switch to CFLAGS

Diego Biurrun diego at biurrun.de
Thu Jun 7 19:08:07 CEST 2007


On Thu, Jun 07, 2007 at 07:00:35PM +0200, Carl Eugen Hoyos wrote:
> 
> Two or three files in libavcodec produce an unbelievable number of this
> warning:
> enumeration value 'CODEC_ID_NONE' not handled in switch
> 
> Following patch removes this warning (as in FFmpeg).
> 
> This time tested with gcc 2.95.3 (and g++);-)
> 
> Ok?

Fine with me, same for the other warning options from FFmpeg, should you
care to investigate them.

Diego



More information about the MPlayer-dev-eng mailing list