Mercurial > libavcodec.hg
diff 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 |
line wrap: on
line diff
--- a/targaenc.c Sun May 11 20:26:35 2008 +0000 +++ b/targaenc.c Sun May 11 22:28:43 2008 +0000 @@ -145,6 +145,6 @@ .priv_data_size = 0, .init = targa_encode_init, .encode = targa_encode_frame, - .pix_fmts= (enum PixelFormat[]){PIX_FMT_BGR24, PIX_FMT_RGB555, PIX_FMT_GRAY8, -1}, + .pix_fmts= (enum PixelFormat[]){PIX_FMT_BGR24, PIX_FMT_RGB555, PIX_FMT_GRAY8, PIX_FMT_NONE}, .long_name= "Truevision Targa image", };