MT#54294 fix typo

Change-Id: Ifb26bb5f23941afb4e10005ca69e5546cfd0439a
pull/1783/head
Richard Fuchs 2 years ago
parent c6a5b53912
commit f9d6e7b448

@ -4757,7 +4757,7 @@ codec_chain_t *codec_chain_new(codec_def_t *src, format_t *src_format, codec_def
return NULL; return NULL;
if (src_format->channels != 1) if (src_format->channels != 1)
return NULL; return NULL;
if (dst_format->channels != 1) if (dst_format->channels != 2)
return NULL; return NULL;
if (dst_format->clockrate != 48000) if (dst_format->clockrate != 48000)
return NULL; return NULL;
@ -4778,7 +4778,7 @@ codec_chain_t *codec_chain_new(codec_def_t *src, format_t *src_format, codec_def
return NULL; return NULL;
if (dst_format->channels != 1) if (dst_format->channels != 1)
return NULL; return NULL;
if (src_format->channels != 1) if (src_format->channels != 2)
return NULL; return NULL;
if (src_format->clockrate != 48000) if (src_format->clockrate != 48000)
return NULL; return NULL;

Loading…
Cancel
Save