changeset 9889:0f1318d6a52b libavcodec

Replace an occurence of -1 by PIX_FMT_NONE, fixes icc warning #188: enumerated type mixed with another type
author cehoyos
date Sat, 27 Jun 2009 08:39:56 +0000
parents 62705926ba33
children 956adcb2b00d
files v210enc.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/v210enc.c	Fri Jun 26 17:43:05 2009 +0000
+++ b/v210enc.c	Sat Jun 27 08:39:56 2009 +0000
@@ -124,6 +124,6 @@
     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"),
 };