diff options
author | Anton Khirnov <anton@khirnov.net> | 2019-05-29 09:36:27 +0200 |
---|---|---|
committer | James Almer <jamrial@gmail.com> | 2022-03-15 09:42:43 -0300 |
commit | d4b79b2e3272877714c092529d3584c61de82266 (patch) | |
tree | a194e307d9de0c5d4a7df1685475c0ae2fba1cc5 /libavcodec/mlp.h | |
parent | 6d8b25841ca47a03abd1cab95be3ec5810bdf84f (diff) |
mlp: convert to new channel layout API
Signed-off-by: James Almer <jamrial@gmail.com>
Diffstat (limited to 'libavcodec/mlp.h')
-rw-r--r-- | libavcodec/mlp.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/libavcodec/mlp.h b/libavcodec/mlp.h index e45eba55ae..8a3e4566a3 100644 --- a/libavcodec/mlp.h +++ b/libavcodec/mlp.h @@ -24,6 +24,8 @@ #include <stdint.h> +#include "libavutil/channel_layout.h" + #define SYNC_MLP 0xbb #define SYNC_TRUEHD 0xba @@ -135,7 +137,10 @@ typedef struct { */ extern const ChannelInformation ff_mlp_ch_info[21]; +#if FF_API_OLD_CHANNEL_LAYOUT extern const uint64_t ff_mlp_channel_layouts[12]; +#endif +extern const AVChannelLayout ff_mlp_ch_layouts[12]; /** MLP uses checksums that seem to be based on the standard CRC algorithm, but * are not (in implementation terms, the table lookup and XOR are reversed). |