# HG changeset patch # User cehoyos # Date 1246091996 0 # Node ID 0f1318d6a52bf67da50152f2de097809b87db06a # Parent 62705926ba33b830fb346d3469a29635ce90ce80 Replace an occurence of -1 by PIX_FMT_NONE, fixes icc warning #188: enumerated type mixed with another type diff -r 62705926ba33 -r 0f1318d6a52b v210enc.c --- 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"), };