From a10de6dc4b3f8ae9af8a0a5b67be2bed70463fba Mon Sep 17 00:00:00 2001 From: Carl Eugen Hoyos Date: Sat, 27 Jun 2009 08:39:56 +0000 Subject: [PATCH] Replace an occurence of -1 by PIX_FMT_NONE, fixes icc warning #188: enumerated type mixed with another type Originally committed as revision 19283 to svn://svn.ffmpeg.org/ffmpeg/trunk --- libavcodec/v210enc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavcodec/v210enc.c b/libavcodec/v210enc.c index ccff9728e0..9a90d243ed 100644 --- a/libavcodec/v210enc.c +++ b/libavcodec/v210enc.c @@ -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"), };