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 {