Commit 9164afcb authored by Carl Eugen Hoyos's avatar Carl Eugen Hoyos

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
parent 6afd0ee3
...@@ -26,7 +26,8 @@ typedef struct { ...@@ -26,7 +26,8 @@ typedef struct {
int64_t pts; int64_t pts;
AVFrame frame; AVFrame frame;
int has_frame; int has_frame;
int h, w, pix_fmt; int h, w;
enum PixelFormat pix_fmt;
AVRational pixel_aspect; AVRational pixel_aspect;
} BufferSourceContext; } BufferSourceContext;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment