[vlc-commits] faad: set decode_audio at the end

Ilkka Ollakka git at videolan.org
Thu Jan 9 09:45:00 CET 2014


vlc | branch: master | Ilkka Ollakka <ileoo at videolan.org> | Wed Oct  2 10:50:58 2013 +0300| [34f7437df3bf75ecb75c630a4792829f85bdc0b9] | committer: Ilkka Ollakka

faad: set decode_audio at the end

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=34f7437df3bf75ecb75c630a4792829f85bdc0b9
---

 modules/codec/faad.c |    3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/modules/codec/faad.c b/modules/codec/faad.c
index 44919f5..bf1b004 100644
--- a/modules/codec/faad.c
+++ b/modules/codec/faad.c
@@ -147,7 +147,6 @@ static int Open( vlc_object_t *p_this )
     p_dec->fmt_out.i_cat = AUDIO_ES;
 
     p_dec->fmt_out.i_codec = HAVE_FPU ? VLC_CODEC_FL32 : VLC_CODEC_S16N;
-    p_dec->pf_decode_audio = DecodeBlock;
 
     p_dec->fmt_out.audio.i_physical_channels =
         p_dec->fmt_out.audio.i_original_channels = 0;
@@ -195,6 +194,8 @@ static int Open( vlc_object_t *p_this )
     p_dec->b_need_packetized = true;
 
     p_sys->b_sbr = p_sys->b_ps = false;
+
+    p_dec->pf_decode_audio = DecodeBlock;
     return VLC_SUCCESS;
 }
 



More information about the vlc-commits mailing list