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

Carl Eugen Hoyos cehoyos
Sun May 11 15:30:37 CEST 2008


Hi!

M?ns Rullg?rd <mans <at> mansr.com> 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.

Even I knew that;-)

The question is: Do you want all these occurences of -1 (>100) to be fixed
(there are a few where this might be more difficult), or should the warning be
silenced?

Thank you, Carl Eugen






More information about the ffmpeg-devel mailing list