comparison pngenc.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 6b7ba5b9af2e
children e943e1409077
comparison
equal deleted inserted replaced
6787:d24da66bec76 6788:e1302edb0f69
442 CODEC_ID_PNG, 442 CODEC_ID_PNG,
443 sizeof(PNGEncContext), 443 sizeof(PNGEncContext),
444 png_enc_init, 444 png_enc_init,
445 encode_frame, 445 encode_frame,
446 NULL, //encode_end, 446 NULL, //encode_end,
447 .pix_fmts= (enum PixelFormat[]){PIX_FMT_RGB24, PIX_FMT_RGB32, PIX_FMT_PAL8, PIX_FMT_GRAY8, PIX_FMT_MONOBLACK, -1}, 447 .pix_fmts= (enum PixelFormat[]){PIX_FMT_RGB24, PIX_FMT_RGB32, PIX_FMT_PAL8, PIX_FMT_GRAY8, PIX_FMT_MONOBLACK, PIX_FMT_NONE},
448 .long_name= "PNG image", 448 .long_name= "PNG image",
449 }; 449 };