[FFmpeg-cvslog] r23640 - trunk/libavfilter/vsrc_buffer.c

cehoyos subversion
Fri Jun 18 00:33:43 CEST 2010


Author: cehoyos
Date: Fri Jun 18 00:33:42 2010
New Revision: 23640

Log:
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 };
                                      ^

Modified:
   trunk/libavfilter/vsrc_buffer.c

Modified: trunk/libavfilter/vsrc_buffer.c
==============================================================================
--- trunk/libavfilter/vsrc_buffer.c	Thu Jun 17 12:59:49 2010	(r23639)
+++ trunk/libavfilter/vsrc_buffer.c	Fri Jun 18 00:33:42 2010	(r23640)
@@ -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;
 



More information about the ffmpeg-cvslog mailing list