aboutsummaryrefslogtreecommitdiffstats
path: root/libavfilter
diff options
context:
space:
mode:
authorCarl Eugen Hoyos <cehoyos@rainbow.studorg.tuwien.ac.at>2010-06-17 22:33:42 +0000
committerCarl Eugen Hoyos <cehoyos@rainbow.studorg.tuwien.ac.at>2010-06-17 22:33:42 +0000
commit9164afcbf9155440e814dd9c22cc2f36965686d0 (patch)
treed0a35961d1b02870ef08293481f4ed9c780ae54b /libavfilter
parent6afd0ee3b2bfc7ed8024f1d30dfc9db39df98320 (diff)
downloadffmpeg-9164afcbf9155440e814dd9c22cc2f36965686d0.tar.gz
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
Diffstat (limited to 'libavfilter')
-rw-r--r--libavfilter/vsrc_buffer.c3
1 files changed, 2 insertions, 1 deletions
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;