Replace an occurence of -1 by PIX_FMT_NONE, fixes icc warning #188:

enumerated type mixed with another type

Originally committed as revision 19283 to svn://svn.ffmpeg.org/ffmpeg/trunk
release/0.6
Carl Eugen Hoyos 16 years ago
parent 06be9d9d8e
commit a10de6dc4b
  1. 2
      libavcodec/v210enc.c

@ -124,6 +124,6 @@ AVCodec v210_encoder = {
encode_init, encode_init,
encode_frame, encode_frame,
encode_close, encode_close,
.pix_fmts = (enum PixelFormat[]){PIX_FMT_YUV422P16, -1}, .pix_fmts = (enum PixelFormat[]){PIX_FMT_YUV422P16, PIX_FMT_NONE},
.long_name = NULL_IF_CONFIG_SMALL("Uncompressed 4:2:2 10-bit"), .long_name = NULL_IF_CONFIG_SMALL("Uncompressed 4:2:2 10-bit"),
}; };

Loading…
Cancel
Save