vlc | branch: master | Steve Lhomme <[email protected]> | Wed Jul 5 15:18:14 2017 +0200| [9af7208f4b6e674fe2187e3b80a9c398ee330e2a] | committer: Jean-Baptiste Kempf
mad: reset the ES to AUDIO_ES on error rather than UNKNOWN_ES Signed-off-by: Jean-Baptiste Kempf <[email protected]> > http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=9af7208f4b6e674fe2187e3b80a9c398ee330e2a --- modules/codec/mad.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/codec/mad.c b/modules/codec/mad.c index 7fed810370..d95d3d7b72 100644 --- a/modules/codec/mad.c +++ b/modules/codec/mad.c @@ -276,7 +276,7 @@ static int Open( vlc_object_t *p_this ) if( decoder_UpdateAudioFormat( p_dec ) ) { - es_format_Init( &p_dec->fmt_out, UNKNOWN_ES, 0 ); + es_format_Init( &p_dec->fmt_out, AUDIO_ES, 0 ); Close( p_this ); return VLC_EGENERIC; } _______________________________________________ vlc-commits mailing list [email protected] https://mailman.videolan.org/listinfo/vlc-commits
