Use CodecType for pad type
authorVitor Sessak <vitor1001@gmail.com>
Fri, 15 Feb 2008 22:14:55 +0000 (22:14 +0000)
committerVitor Sessak <vitor1001@gmail.com>
Fri, 15 Feb 2008 22:14:55 +0000 (22:14 +0000)
Commited in SoC by Vitor Sessak on 2008-02-10 20:41:57

Originally committed as revision 12115 to svn://svn.ffmpeg.org/ffmpeg/trunk

libavfilter/avfilter.h

index af12880..e3345fb 100644 (file)
@@ -200,8 +200,7 @@ struct AVFilterPad
      * AVFilterPad type.  Only video supported now, hopefully someone will
      * add audio in the future.
      */
-    int type;
-#define AV_PAD_VIDEO 0      ///< video pad
+    enum CodecType type;
 
     /**
      * Minimum required permissions on incoming buffers.  Any buffers with