[vlc-commits] a52: don't reset fmt_out on error

Thomas Guillem git at videolan.org
Mon Jul 10 19:14:55 CEST 2017


vlc | branch: master | Thomas Guillem <thomas at gllm.fr> | Mon Jul 10 19:14:06 2017 +0200| [63a1719b6af83499b64c2962cc841e4034aa09b2] | committer: Thomas Guillem

a52: don't reset fmt_out on error

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

 modules/codec/a52.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/modules/codec/a52.c b/modules/codec/a52.c
index aaf27e515e..af9f55996a 100644
--- a/modules/codec/a52.c
+++ b/modules/codec/a52.c
@@ -364,7 +364,6 @@ static int Open( vlc_object_t *p_this )
 
     if( decoder_UpdateAudioFormat( p_dec ) )
     {
-        es_format_Init( &p_dec->fmt_out, AUDIO_ES, 0 );
         Close( p_this );
         return VLC_EGENERIC;
     }



More information about the vlc-commits mailing list