summaryrefslogtreecommitdiff
path: root/libavcodec/ac3.h
diff options
context:
space:
mode:
authorBartlomiej Wolowiec <bartek.wolowiec@gmail.com>2008-03-24 21:25:49 +0000
committerBartlomiej Wolowiec <bartek.wolowiec@gmail.com>2008-03-24 21:25:49 +0000
commit4e6eeaf01968a22748e27590d29f343323cca9c6 (patch)
treeb4c32d09b5b6a3dddf4fd6a917289f7ed7b56b80 /libavcodec/ac3.h
parentb4e806b2b9696443954de88e54ea583d705bcd24 (diff)
using stream type in eac3 parser
Originally committed as revision 12570 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/ac3.h')
-rw-r--r--libavcodec/ac3.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/libavcodec/ac3.h b/libavcodec/ac3.h
index b5fa789c49..7c2e3d9cbb 100644
--- a/libavcodec/ac3.h
+++ b/libavcodec/ac3.h
@@ -84,6 +84,7 @@ typedef struct {
uint8_t bitstream_id;
uint8_t channel_mode;
uint8_t lfe_on;
+ uint8_t stream_type;
/** @} */
/** @defgroup derived Derived values
@@ -97,6 +98,12 @@ typedef struct {
/** @} */
} AC3HeaderInfo;
+typedef enum {
+ EAC3_STREAM_TYPE_INDEPENDENT = 0,
+ EAC3_STREAM_TYPE_DEPENDENT,
+ EAC3_STREAM_TYPE_AC3_CONVERT,
+ EAC3_STREAM_TYPE_RESERVED
+} EAC3StreamType;
void ac3_common_init(void);