[vlc-commits] mad: don't reset fmt_out on error
Thomas Guillem
git at videolan.org
Mon Jul 10 19:15:03 CEST 2017
vlc | branch: master | Thomas Guillem <thomas at gllm.fr> | Mon Jul 10 19:14:14 2017 +0200| [86081bf6e5cab057b8208b91e1d5e90adbd22aa9] | committer: Thomas Guillem
mad: don't reset fmt_out on error
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=86081bf6e5cab057b8208b91e1d5e90adbd22aa9
---
modules/codec/mad.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/modules/codec/mad.c b/modules/codec/mad.c
index b9ec59f4f5..047243dd5f 100644
--- a/modules/codec/mad.c
+++ b/modules/codec/mad.c
@@ -275,7 +275,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