OSDN Git Service

Replace an occurence of -1 by PIX_FMT_NONE, fixes icc warning #188:
authorCarl Eugen Hoyos <cehoyos@rainbow.studorg.tuwien.ac.at>
Sat, 27 Jun 2009 08:39:56 +0000 (08:39 +0000)
committerCarl Eugen Hoyos <cehoyos@rainbow.studorg.tuwien.ac.at>
Sat, 27 Jun 2009 08:39:56 +0000 (08:39 +0000)
enumerated type mixed with another type

Originally committed as revision 19283 to svn://svn.ffmpeg.org/ffmpeg/trunk

libavcodec/v210enc.c

index ccff972..9a90d24 100644 (file)
@@ -124,6 +124,6 @@ AVCodec v210_encoder = {
     encode_init,
     encode_frame,
     encode_close,
-    .pix_fmts = (enum PixelFormat[]){PIX_FMT_YUV422P16, -1},
+    .pix_fmts = (enum PixelFormat[]){PIX_FMT_YUV422P16, PIX_FMT_NONE},
     .long_name = NULL_IF_CONFIG_SMALL("Uncompressed 4:2:2 10-bit"),
 };