1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2025-01-08 13:22:53 +02:00

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
This commit is contained in:
Carl Eugen Hoyos 2010-06-17 22:33:42 +00:00
parent 6afd0ee3b2
commit 9164afcbf9

View File

@ -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;