[vlc-commits] codec: faad: keep the input channel_type
Adrien Maglo
git at videolan.org
Wed Jul 19 18:59:38 CEST 2017
vlc | branch: master | Adrien Maglo <magsoft at videolan.org> | Fri Jul 7 14:51:16 2017 +0200| [fdd3b7ca6add3f813a8e4876aa90d26a37798f52] | committer: Thomas Guillem
codec: faad: keep the input channel_type
Signed-off-by: Thomas Guillem <thomas at gllm.fr>
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=fdd3b7ca6add3f813a8e4876aa90d26a37798f52
---
modules/codec/faad.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/modules/codec/faad.c b/modules/codec/faad.c
index 8528f8c045..1711ab4596 100644
--- a/modules/codec/faad.c
+++ b/modules/codec/faad.c
@@ -130,6 +130,8 @@ static int Open( vlc_object_t *p_this )
/* Misc init */
date_Set( &p_sys->date, 0 );
+ p_dec->fmt_out.audio.channel_type = p_dec->fmt_in.audio.channel_type;
+
if( p_dec->fmt_in.i_extra > 0 )
{
/* We have a decoder config so init the handle */
More information about the vlc-commits
mailing list