ffmpeg | branch: master | James Almer <jamr...@gmail.com> | Tue Mar 15 10:18:53 
2022 -0300| [793c85bc4d31d6ac4512b93fa4945861b8e69790] | committer: James Almer

avcodec/audiotoolboxenc: use the correct function name

Signed-off-by: James Almer <jamr...@gmail.com>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=793c85bc4d31d6ac4512b93fa4945861b8e69790
---

 libavcodec/audiotoolboxenc.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libavcodec/audiotoolboxenc.c b/libavcodec/audiotoolboxenc.c
index ed7985b06a..74f7ff543f 100644
--- a/libavcodec/audiotoolboxenc.c
+++ b/libavcodec/audiotoolboxenc.c
@@ -186,7 +186,7 @@ static int remap_layout(AudioChannelLayout *layout, const 
AVChannelLayout *in_la
     for (i = 0; i < in_layout->nb_channels; i++) {
         int c, label;
 
-        c = av_channel_layout_get_channel(in_layout, i);
+        c = av_channel_layout_channel_from_index(in_layout, i);
         if (c < 0 || c >= 64)
             return AVERROR(EINVAL);
         label = get_channel_label(c);

_______________________________________________
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".

Reply via email to