Mercurial > libavcodec.hg
diff pngenc.c @ 6788:e1302edb0f69 libavcodec
Replace some occurrences of -1 with PIX_FMT_NONE.
Fixes icc warning #188: enumerated type mixed with another type
author | cehoyos |
---|---|
date | Sun, 11 May 2008 22:28:43 +0000 |
parents | 6b7ba5b9af2e |
children | e943e1409077 |
line wrap: on
line diff
--- a/pngenc.c Sun May 11 20:26:35 2008 +0000 +++ b/pngenc.c Sun May 11 22:28:43 2008 +0000 @@ -444,6 +444,6 @@ png_enc_init, encode_frame, NULL, //encode_end, - .pix_fmts= (enum PixelFormat[]){PIX_FMT_RGB24, PIX_FMT_RGB32, PIX_FMT_PAL8, PIX_FMT_GRAY8, PIX_FMT_MONOBLACK, -1}, + .pix_fmts= (enum PixelFormat[]){PIX_FMT_RGB24, PIX_FMT_RGB32, PIX_FMT_PAL8, PIX_FMT_GRAY8, PIX_FMT_MONOBLACK, PIX_FMT_NONE}, .long_name= "PNG image", };