summaryrefslogtreecommitdiff
path: root/libavcodec/ac3.h
diff options
context:
space:
mode:
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);