[FFmpeg-devel] [PATCH] Silence useless icc warnings

Reimar Döffinger Reimar.Doeffinger
Sun May 11 15:35:24 CEST 2008


On Sun, May 11, 2008 at 02:21:47PM +0100, M?ns Rullg?rd wrote:
> Carl Eugen Hoyos <cehoyos at ag.or.at> writes:
> > The remaining possible useless warning when compiling with icc is now:
> >
> > libavcodec/gif.c(343): warning #188: enumerated type mixed with another type
> >       .pix_fmts= (enum PixelFormat[]){PIX_FMT_PAL8, -1},
> >                                                     ^
> >
> > Does anybody wants them to be fixes (there are a lot of them) or should I
> > silence this warning as well?
> 
> These can be fixed by replacing the -1 with PIX_FMT_NONE, which
> incidentally has the value -1.

They can be, the question is if they should be. I am not really happy
with either one...




More information about the ffmpeg-devel mailing list