From f9d6e7b44880790bfdf20a93f60d7b25ad882167 Mon Sep 17 00:00:00 2001 From: Richard Fuchs Date: Tue, 9 Jan 2024 12:00:12 -0500 Subject: [PATCH] MT#54294 fix typo Change-Id: Ifb26bb5f23941afb4e10005ca69e5546cfd0439a --- lib/codeclib.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/codeclib.c b/lib/codeclib.c index 2299e7d31..b0e1f6377 100644 --- a/lib/codeclib.c +++ b/lib/codeclib.c @@ -4757,7 +4757,7 @@ codec_chain_t *codec_chain_new(codec_def_t *src, format_t *src_format, codec_def return NULL; if (src_format->channels != 1) return NULL; - if (dst_format->channels != 1) + if (dst_format->channels != 2) return NULL; if (dst_format->clockrate != 48000) return NULL; @@ -4778,7 +4778,7 @@ codec_chain_t *codec_chain_new(codec_def_t *src, format_t *src_format, codec_def return NULL; if (dst_format->channels != 1) return NULL; - if (src_format->channels != 1) + if (src_format->channels != 2) return NULL; if (src_format->clockrate != 48000) return NULL;