Mercurial > libavcodec.hg
comparison jpeglsenc.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 | 5b3acf9fd50a |
children | e943e1409077 |
comparison
equal
deleted
inserted
replaced
6787:d24da66bec76 | 6788:e1302edb0f69 |
---|---|
387 CODEC_ID_JPEGLS, | 387 CODEC_ID_JPEGLS, |
388 sizeof(JpeglsContext), | 388 sizeof(JpeglsContext), |
389 encode_init_ls, | 389 encode_init_ls, |
390 encode_picture_ls, | 390 encode_picture_ls, |
391 NULL, | 391 NULL, |
392 .pix_fmts= (enum PixelFormat[]){PIX_FMT_BGR24, PIX_FMT_RGB24, PIX_FMT_GRAY8, PIX_FMT_GRAY16, -1}, | 392 .pix_fmts= (enum PixelFormat[]){PIX_FMT_BGR24, PIX_FMT_RGB24, PIX_FMT_GRAY8, PIX_FMT_GRAY16, PIX_FMT_NONE}, |
393 .long_name= "JPEG-LS", | 393 .long_name= "JPEG-LS", |
394 }; | 394 }; |