diff options
author | Martin Storsjö <martin@martin.st> | 2022-03-15 15:25:04 +0200 |
---|---|---|
committer | Martin Storsjö <martin@martin.st> | 2022-03-15 15:25:04 +0200 |
commit | 6383862ae2868470576f7e10e7b94733d88a595a (patch) | |
tree | 7abd6b4b21e0f49195cd8cc013a7da7d3a7657e6 | |
parent | 793c85bc4d31d6ac4512b93fa4945861b8e69790 (diff) |
avcodec/audiotoolboxenc: Fix the use of FF_ARRAY_ELEMS
Signed-off-by: Martin Storsjö <martin@martin.st>
-rw-r--r-- | libavcodec/audiotoolboxenc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/audiotoolboxenc.c b/libavcodec/audiotoolboxenc.c index 74f7ff543f..4f43d8e43b 100644 --- a/libavcodec/audiotoolboxenc.c +++ b/libavcodec/audiotoolboxenc.c @@ -220,7 +220,7 @@ static int get_aac_tag(const AVChannelLayout *in_layout) }; int i; - for (i = 0; i < FF_ARRAY_ELEMS; i++) + for (i = 0; i < FF_ARRAY_ELEMS(map); i++) if (!av_channel_layout_compare(in_layout, &map[i].chl)) return map[i].tag; |