Mercurial > libavcodec.hg
diff roqvideoenc.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 | 0d01bae8d207 |
line wrap: on
line diff
--- a/roqvideoenc.c Sun May 11 20:26:35 2008 +0000 +++ b/roqvideoenc.c Sun May 11 22:28:43 2008 +0000 @@ -1065,6 +1065,6 @@ roq_encode_frame, roq_encode_end, .supported_framerates = (AVRational[]){{30,1}, {0,0}}, - .pix_fmts = (enum PixelFormat[]){PIX_FMT_YUV444P, -1}, + .pix_fmts = (enum PixelFormat[]){PIX_FMT_YUV444P, PIX_FMT_NONE}, .long_name = "Id RoQ video", };