diff options
author | Carl Eugen Hoyos <cehoyos@rainbow.studorg.tuwien.ac.at> | 2010-06-17 22:33:42 +0000 |
---|---|---|
committer | Carl Eugen Hoyos <cehoyos@rainbow.studorg.tuwien.ac.at> | 2010-06-17 22:33:42 +0000 |
commit | 9164afcbf9155440e814dd9c22cc2f36965686d0 (patch) | |
tree | d0a35961d1b02870ef08293481f4ed9c780ae54b | |
parent | 6afd0ee3b2bfc7ed8024f1d30dfc9db39df98320 (diff) | |
download | ffmpeg-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
-rw-r--r-- | libavfilter/vsrc_buffer.c | 3 |
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; |