changeset 6792:13191e6b439c libavcodec

Replace one more occurrence of -1 with PIX_FMT_NONE. Fixes icc warning #188: enumerated type mixed with another type
author cehoyos
date Mon, 12 May 2008 10:31:52 +0000
parents 23fc5822802d
children 3a715cb7f4b2
files dnxhdenc.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/dnxhdenc.c	Mon May 12 09:18:32 2008 +0000
+++ b/dnxhdenc.c	Mon May 12 10:31:52 2008 +0000
@@ -845,6 +845,6 @@
     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",
 };