comparison sgienc.c @ 6788:e1302edb0f69 libavcodec

Replace some occurrences of -1 with PIX_FMT_NONE. Fixes icc warning #188: enumerated type mixed with another type
author cehoyos
date Sun, 11 May 2008 22:28:43 +0000
parents 6eeb19edcee3
children e943e1409077
comparison
equal deleted inserted replaced
6787:d24da66bec76 6788:e1302edb0f69
149 CODEC_ID_SGI, 149 CODEC_ID_SGI,
150 sizeof(SgiContext), 150 sizeof(SgiContext),
151 encode_init, 151 encode_init,
152 encode_frame, 152 encode_frame,
153 NULL, 153 NULL,
154 .pix_fmts= (enum PixelFormat[]){PIX_FMT_RGB24, PIX_FMT_RGBA, PIX_FMT_PAL8, PIX_FMT_GRAY8, -1}, 154 .pix_fmts= (enum PixelFormat[]){PIX_FMT_RGB24, PIX_FMT_RGBA, PIX_FMT_PAL8, PIX_FMT_GRAY8, PIX_FMT_NONE},
155 .long_name= "SGI image", 155 .long_name= "SGI image",
156 }; 156 };
157 157