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 --- libavdevice/v4l2.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libavdevice') diff --git a/libavdevice/v4l2.c b/libavdevice/v4l2.c index 319983b8fa..95eea3cd92 100644 --- a/libavdevice/v4l2.c +++ b/libavdevice/v4l2.c @@ -223,7 +223,7 @@ static enum PixelFormat fmt_v4l2ff(uint32_t pix_fmt) } } - return -1; + return PIX_FMT_NONE; } static int mmap_init(AVFormatContext *ctx) -- cgit v1.2.3