diff libtheoraenc.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 f7cbb7733146
children e943e1409077
line wrap: on
line diff
--- a/libtheoraenc.c	Sun May 11 20:26:35 2008 +0000
+++ b/libtheoraenc.c	Sun May 11 22:28:43 2008 +0000
@@ -264,7 +264,7 @@
     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 =