ffmpeg | branch: master | Martin Storsjö <mar...@martin.st> | Tue Mar 15 15:25:04 2022 +0200| [6383862ae2868470576f7e10e7b94733d88a595a] | committer: Martin Storsjö
avcodec/audiotoolboxenc: Fix the use of FF_ARRAY_ELEMS Signed-off-by: Martin Storsjö <mar...@martin.st> > http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=6383862ae2868470576f7e10e7b94733d88a595a --- libavcodec/audiotoolboxenc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; _______________________________________________ ffmpeg-cvslog mailing list ffmpeg-cvslog@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-cvslog To unsubscribe, visit link above, or email ffmpeg-cvslog-requ...@ffmpeg.org with subject "unsubscribe".