diff options
author | Carl Eugen Hoyos <cehoyos@rainbow.studorg.tuwien.ac.at> | 2008-05-12 02:28:43 +0400 |
---|---|---|
committer | Carl Eugen Hoyos <cehoyos@rainbow.studorg.tuwien.ac.at> | 2008-05-12 02:28:43 +0400 |
commit | eacced45c47222efebcf66bfced9375a16490e07 (patch) | |
tree | 6955e28d81e19ae992f6be7812d05714e80456eb /libavcodec/libtheoraenc.c | |
parent | 488aca9b1e2eb9136b77e00335b2f529cbb248d2 (diff) |
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
Diffstat (limited to 'libavcodec/libtheoraenc.c')
-rw-r--r-- | libavcodec/libtheoraenc.c | 2 |
1 files changed, 1 insertions, 1 deletions
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 = |