ffmpeg | branch: master | James Almer <jamr...@gmail.com> | Mon Mar 28 00:07:33 2022 -0300| [5ee198f9aae40681de2735260465d47c64b53feb] | committer: James Almer
swresample/rematrix: fix typo in clean_layout() av_channel_layout_index_from_channel() takes an AVChannel value, not a mask. Signed-off-by: James Almer <jamr...@gmail.com> > http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=5ee198f9aae40681de2735260465d47c64b53feb --- libswresample/rematrix.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libswresample/rematrix.c b/libswresample/rematrix.c index 37e8c2ef4b..5e89b878dd 100644 --- a/libswresample/rematrix.c +++ b/libswresample/rematrix.c @@ -114,7 +114,7 @@ static int clean_layout(AVChannelLayout *out, const AVChannelLayout *in, void *s { int ret = 0; - if(av_channel_layout_index_from_channel(in, AV_CH_FRONT_CENTER) < 0 && in->nb_channels == 1) { + if (av_channel_layout_index_from_channel(in, AV_CHAN_FRONT_CENTER) < 0 && in->nb_channels == 1) { char buf[128]; av_channel_layout_describe(in, buf, sizeof(buf)); av_log(s, AV_LOG_VERBOSE, "Treating %s as mono\n", buf); _______________________________________________ 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".