From 9164afcbf9155440e814dd9c22cc2f36965686d0 Mon Sep 17 00:00:00 2001 From: Carl Eugen Hoyos Date: Thu, 17 Jun 2010 22:33:42 +0000 Subject: [PATCH] Use enum PixelFormat to silence one icc warning: warning #188: enumerated type mixed with another type enum PixelFormat pix_fmts[] = { c->pix_fmt, PIX_FMT_NONE }; ^ Originally committed as revision 23640 to svn://svn.ffmpeg.org/ffmpeg/trunk --- libavfilter/vsrc_buffer.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/libavfilter/vsrc_buffer.c b/libavfilter/vsrc_buffer.c index 17e56eeb79..98f2e371f6 100644 --- a/libavfilter/vsrc_buffer.c +++ b/libavfilter/vsrc_buffer.c @@ -26,7 +26,8 @@ typedef struct { int64_t pts; AVFrame frame; int has_frame; - int h, w, pix_fmt; + int h, w; + enum PixelFormat pix_fmt; AVRational pixel_aspect; } BufferSourceContext;