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