summaryrefslogtreecommitdiff
path: root/libavcodec/avcodec.h
diff options
context:
space:
mode:
authorZdenek Kabelac <kabi@informatics.muni.cz>2002-04-08 21:03:35 +0000
committerZdenek Kabelac <kabi@informatics.muni.cz>2002-04-08 21:03:35 +0000
commitbc657ac31dfd2458d52736e36af03615d8c1664b (patch)
tree4e1751851c8c1820236d521694377fe1cdecccd8 /libavcodec/avcodec.h
parent4606ac8dee9985bae07fcd0c0e04d6e2c63d6dc5 (diff)
* using pixtype as enum - by Philip Gladstone
Originally committed as revision 389 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/avcodec.h')
-rw-r--r--libavcodec/avcodec.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/libavcodec/avcodec.h b/libavcodec/avcodec.h
index 499cff7cff..3f6ee75661 100644
--- a/libavcodec/avcodec.h
+++ b/libavcodec/avcodec.h
@@ -39,6 +39,7 @@ enum CodecType {
};
enum PixelFormat {
+ PIX_FMT_ANY,
PIX_FMT_YUV420P,
PIX_FMT_YUV422,
PIX_FMT_RGB24,
@@ -98,7 +99,7 @@ typedef struct AVCodecContext {
#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