aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2014-03-01 01:45:49 +0100
committerMichael Niedermayer <michaelni@gmx.at>2014-03-01 01:45:49 +0100
commitdf6d21c1e7d347b533b78f0b0ff72bb52e104b73 (patch)
treed54ba87e35bd62b24467d7686588e2c29373a71a /libavcodec
parent52d928daf9c0dc715329f53c10ed9d3f486fceb6 (diff)
downloadffmpeg-df6d21c1e7d347b533b78f0b0ff72bb52e104b73.tar.gz
avcodec/ac3: move new field to the end of AC3HeaderInfo
This structure is used in the interface between libs and thus cannot have fields added in the middle without major bump Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavcodec')
-rw-r--r--libavcodec/ac3.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/libavcodec/ac3.h b/libavcodec/ac3.h
index de1508ce21..0cc9e2c98a 100644
--- a/libavcodec/ac3.h
+++ b/libavcodec/ac3.h
@@ -142,7 +142,9 @@ typedef struct AC3HeaderInfo {
int surround_mix_level; ///< Surround mix level index
uint16_t channel_map;
int num_blocks; ///< number of audio blocks
+#if AV_HAVE_INCOMPATIBLE_LIBAV_ABI
int dolby_surround_mode;
+#endif
/** @} */
/** @name Derived values
@@ -155,6 +157,9 @@ typedef struct AC3HeaderInfo {
uint16_t frame_size;
uint64_t channel_layout;
/** @} */
+#if !AV_HAVE_INCOMPATIBLE_LIBAV_ABI
+ int dolby_surround_mode;
+#endif
} AC3HeaderInfo;
typedef enum {