Mercurial > libavcodec.hg
comparison targaenc.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 | 7fea187c80b0 |
children | 7cf90c252373 |
comparison
equal
deleted
inserted
replaced
6787:d24da66bec76 | 6788:e1302edb0f69 |
---|---|
143 .type = CODEC_TYPE_VIDEO, | 143 .type = CODEC_TYPE_VIDEO, |
144 .id = CODEC_ID_TARGA, | 144 .id = CODEC_ID_TARGA, |
145 .priv_data_size = 0, | 145 .priv_data_size = 0, |
146 .init = targa_encode_init, | 146 .init = targa_encode_init, |
147 .encode = targa_encode_frame, | 147 .encode = targa_encode_frame, |
148 .pix_fmts= (enum PixelFormat[]){PIX_FMT_BGR24, PIX_FMT_RGB555, PIX_FMT_GRAY8, -1}, | 148 .pix_fmts= (enum PixelFormat[]){PIX_FMT_BGR24, PIX_FMT_RGB555, PIX_FMT_GRAY8, PIX_FMT_NONE}, |
149 .long_name= "Truevision Targa image", | 149 .long_name= "Truevision Targa image", |
150 }; | 150 }; |