You've already forked FFmpeg
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:
@@ -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;
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user