vlc | branch: master | Francois Cartegnie <[email protected]> | Mon Apr 10 15:18:39 2017 +0200| [0bb4d1511dbea00d8e6f9cc312bf45bd4ddbe3fb] | committer: Francois Cartegnie
demux: flac: use packetizer's fmtin > http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=0bb4d1511dbea00d8e6f9cc312bf45bd4ddbe3fb --- modules/demux/flac.c | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/modules/demux/flac.c b/modules/demux/flac.c index 237ef3e9d8..2332bf151c 100644 --- a/modules/demux/flac.c +++ b/modules/demux/flac.c @@ -153,7 +153,6 @@ static int Open( vlc_object_t * p_this ) p_sys->i_cover_score = 0; es_format_Init( &fmt, AUDIO_ES, VLC_CODEC_FLAC ); - fmt.b_packetized = true; /* We need to read and store the STREAMINFO metadata into fmt extra */ if( ParseHeaders( p_demux, &fmt ) ) @@ -174,12 +173,9 @@ static int Open( vlc_object_t * p_this ) vlc_meta_Set( p_sys->p_meta, vlc_meta_ArtworkURL, psz_url ); } - p_sys->p_es = es_out_Add( p_demux->out, &fmt ); + p_sys->p_es = es_out_Add( p_demux->out, &p_sys->p_packetizer->fmt_in ); if( !p_sys->p_es ) - { - es_format_Clean( &fmt ); goto error; - } return VLC_SUCCESS; error: _______________________________________________ vlc-commits mailing list [email protected] https://mailman.videolan.org/listinfo/vlc-commits
