Skip to content

Commit

Permalink
avcodec/ac3: move new field to the end of AC3HeaderInfo
Browse files Browse the repository at this point in the history
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 <[email protected]>
  • Loading branch information
michaelni committed Mar 1, 2014
1 parent 52d928d commit df6d21c
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions libavcodec/ac3.h
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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 {
Expand Down

0 comments on commit df6d21c

Please sign in to comment.