[FFmpeg-cvslog] r19283 - trunk/libavcodec/v210enc.c

cehoyos subversion
Sat Jun 27 10:39:57 CEST 2009


Author: cehoyos
Date: Sat Jun 27 10:39:56 2009
New Revision: 19283

Log:
Replace an occurence of -1 by PIX_FMT_NONE, fixes icc warning #188:
enumerated type mixed with another type

Modified:
   trunk/libavcodec/v210enc.c

Modified: trunk/libavcodec/v210enc.c
==============================================================================
--- trunk/libavcodec/v210enc.c	Sat Jun 27 10:34:04 2009	(r19282)
+++ trunk/libavcodec/v210enc.c	Sat Jun 27 10:39:56 2009	(r19283)
@@ -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"),
 };



More information about the ffmpeg-cvslog mailing list