diff options
author | Carl Eugen Hoyos <cehoyos@rainbow.studorg.tuwien.ac.at> | 2008-05-11 22:28:43 +0000 |
---|---|---|
committer | Carl Eugen Hoyos <cehoyos@rainbow.studorg.tuwien.ac.at> | 2008-05-11 22:28:43 +0000 |
commit | eacced45c47222efebcf66bfced9375a16490e07 (patch) | |
tree | 6955e28d81e19ae992f6be7812d05714e80456eb /libavcodec/pngenc.c | |
parent | 488aca9b1e2eb9136b77e00335b2f529cbb248d2 (diff) | |
download | ffmpeg-eacced45c47222efebcf66bfced9375a16490e07.tar.gz |
Replace some occurrences of -1 with PIX_FMT_NONE.
Fixes icc warning #188: enumerated type mixed with another type
Originally committed as revision 13130 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/pngenc.c')
-rw-r--r-- | libavcodec/pngenc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/pngenc.c b/libavcodec/pngenc.c index 1ac9f311b8..74376af492 100644 --- a/libavcodec/pngenc.c +++ b/libavcodec/pngenc.c @@ -444,6 +444,6 @@ AVCodec png_encoder = { 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", }; |