diff avcodec.h @ 315:40d8092e2ff0 libavcodec

* using pixtype as enum - by Philip Gladstone
author kabi
date Mon, 08 Apr 2002 21:03:35 +0000
parents ac677a84d5df
children 02d6d988399e
line wrap: on
line diff
--- a/avcodec.h	Mon Apr 08 12:08:03 2002 +0000
+++ b/avcodec.h	Mon Apr 08 21:03:35 2002 +0000
@@ -39,6 +39,7 @@
 };
 
 enum PixelFormat {
+    PIX_FMT_ANY,
     PIX_FMT_YUV420P,
     PIX_FMT_YUV422,
     PIX_FMT_RGB24,
@@ -98,7 +99,7 @@
 #define FF_ASPECT_16_9_625 4
 #define FF_ASPECT_16_9_525 5
     int gop_size; /* 0 = intra only */
-    int pix_fmt;  /* pixel format, see PIX_FMT_xxx */
+    enum PixelFormat pix_fmt;  /* pixel format, see PIX_FMT_xxx */
 
     /* if non NULL, 'draw_horiz_band' is called by the libavcodec
        decoder to draw an horizontal band. It improve cache usage. Not