summaryrefslogtreecommitdiff
path: root/libavcodec/alac_data.h
diff options
context:
space:
mode:
authorAnton Khirnov <anton@khirnov.net>2013-05-07 07:20:32 +0200
committerJames Almer <jamrial@gmail.com>2022-03-15 09:42:40 -0300
commitd199099be988ebe7f3e688c45337dded3f8e0187 (patch)
tree2bd818f256ad11fbe7386cc2fc8b7aeb450c2ed9 /libavcodec/alac_data.h
parent4407054ff0eec66c3ca8040607cfc8d952f772d7 (diff)
alac: convert to new channel layout API
Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com> Signed-off-by: Anton Khirnov <anton@khirnov.net> Signed-off-by: James Almer <jamrial@gmail.com>
Diffstat (limited to 'libavcodec/alac_data.h')
-rw-r--r--libavcodec/alac_data.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/libavcodec/alac_data.h b/libavcodec/alac_data.h
index 650d6dcd15..802074639b 100644
--- a/libavcodec/alac_data.h
+++ b/libavcodec/alac_data.h
@@ -23,6 +23,8 @@
#include <stdint.h>
+#include "libavutil/channel_layout.h"
+
enum AlacRawDataBlockType {
/* At the moment, only SCE, CPE, LFE, and END are recognized. */
TYPE_SCE,
@@ -39,7 +41,7 @@ enum AlacRawDataBlockType {
extern const uint8_t ff_alac_channel_layout_offsets[ALAC_MAX_CHANNELS][ALAC_MAX_CHANNELS];
-extern const uint64_t ff_alac_channel_layouts[ALAC_MAX_CHANNELS + 1];
+extern const AVChannelLayout ff_alac_ch_layouts[ALAC_MAX_CHANNELS + 1];
extern const enum AlacRawDataBlockType ff_alac_channel_elements[ALAC_MAX_CHANNELS][5];