From eacced45c47222efebcf66bfced9375a16490e07 Mon Sep 17 00:00:00 2001 From: Carl Eugen Hoyos Date: Sun, 11 May 2008 22:28:43 +0000 Subject: Replace some occurrences of -1 with PIX_FMT_NONE. Fixes icc warning #188: enumerated type mixed with another type Originally committed as revision 13130 to svn://svn.ffmpeg.org/ffmpeg/trunk --- libavcodec/libtheoraenc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libavcodec/libtheoraenc.c') diff --git a/libavcodec/libtheoraenc.c b/libavcodec/libtheoraenc.c index b08b387a74..d516d443e3 100644 --- a/libavcodec/libtheoraenc.c +++ b/libavcodec/libtheoraenc.c @@ -264,7 +264,7 @@ static int encode_close(AVCodecContext* avc_context) return -1; } -static const enum PixelFormat supported_pixel_formats[] = { PIX_FMT_YUV420P, -1 }; +static const enum PixelFormat supported_pixel_formats[] = { PIX_FMT_YUV420P, PIX_FMT_NONE }; /*! AVCodec struct exposed to libavcodec */ AVCodec libtheora_encoder = -- cgit v1.2.3