vlc | branch: master | Francois Cartegnie <[email protected]> | Fri Mar 6 22:30:40 2015 +0100| [7de965e3a0838bf356dcdbd5fce1f2b08207d3c0] | committer: Francois Cartegnie
demux: ts: don't delete unknown group > http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=7de965e3a0838bf356dcdbd5fce1f2b08207d3c0 --- modules/demux/ts.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/modules/demux/ts.c b/modules/demux/ts.c index 103abd1..51b6656 100644 --- a/modules/demux/ts.c +++ b/modules/demux/ts.c @@ -5657,7 +5657,8 @@ static void ts_pmt_Del( demux_t *p_demux, ts_pmt_t *pmt ) ARRAY_RESET( pmt->e_streams ); if( pmt->iod ) IODFree( pmt->iod ); - es_out_Control( p_demux->out, ES_OUT_DEL_GROUP, pmt->i_number ); + if( pmt->i_number > -1 ) + es_out_Control( p_demux->out, ES_OUT_DEL_GROUP, pmt->i_number ); free( pmt ); } _______________________________________________ vlc-commits mailing list [email protected] https://mailman.videolan.org/listinfo/vlc-commits
