Replace one more occurrence of -1 with PIX_FMT_NONE.
authorCarl Eugen Hoyos <cehoyos@rainbow.studorg.tuwien.ac.at>
Mon, 12 May 2008 10:31:52 +0000 (10:31 +0000)
committerCarl Eugen Hoyos <cehoyos@rainbow.studorg.tuwien.ac.at>
Mon, 12 May 2008 10:31:52 +0000 (10:31 +0000)
Fixes icc warning #188: enumerated type mixed with another type

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

libavcodec/dnxhdenc.c

index 75cd1c7..f96ed3a 100644 (file)
@@ -845,6 +845,6 @@ AVCodec dnxhd_encoder = {
     dnxhd_encode_init,
     dnxhd_encode_picture,
     dnxhd_encode_end,
-    .pix_fmts = (enum PixelFormat[]){PIX_FMT_YUV422P, -1},
+    .pix_fmts = (enum PixelFormat[]){PIX_FMT_YUV422P, PIX_FMT_NONE},
     .long_name = "VC3/DNxHD",
 };