1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2025-08-10 06:10:52 +02:00

avcodec/audiotoolboxenc: Fix the use of FF_ARRAY_ELEMS

Signed-off-by: Martin Storsjö <martin@martin.st>
This commit is contained in:
Martin Storsjö
2022-03-15 15:25:04 +02:00
parent 793c85bc4d
commit 6383862ae2

View File

@@ -220,7 +220,7 @@ static int get_aac_tag(const AVChannelLayout *in_layout)
}; };
int i; 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)) if (!av_channel_layout_compare(in_layout, &map[i].chl))
return map[i].tag; return map[i].tag;