[FFmpeg-cvslog] r13136 - trunk/libavcodec/dnxhdenc.c

cehoyos subversion
Mon May 12 12:31:53 CEST 2008


Author: cehoyos
Date: Mon May 12 12:31:52 2008
New Revision: 13136

Log:
Replace one more occurrence of -1 with PIX_FMT_NONE.
Fixes icc warning #188: enumerated type mixed with another type 


Modified:
   trunk/libavcodec/dnxhdenc.c

Modified: trunk/libavcodec/dnxhdenc.c
==============================================================================
--- trunk/libavcodec/dnxhdenc.c	(original)
+++ trunk/libavcodec/dnxhdenc.c	Mon May 12 12:31:52 2008
@@ -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",
 };




More information about the ffmpeg-cvslog mailing list