[vlc-commits] demux: ts: fix stream id mask

Francois Cartegnie git at videolan.org
Sat Apr 4 17:18:18 CEST 2015


vlc | branch: master | Francois Cartegnie <fcvlcdev at free.fr> | Wed Apr  1 16:17:11 2015 +0200| [a43eb1ab525d018b625f6610a977edb3c4cae617] | committer: Francois Cartegnie

demux: ts: fix stream id mask

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=a43eb1ab525d018b625f6610a977edb3c4cae617
---

 modules/demux/ts.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/modules/demux/ts.c b/modules/demux/ts.c
index 4fa8579..d518cb5 100644
--- a/modules/demux/ts.c
+++ b/modules/demux/ts.c
@@ -2381,7 +2381,7 @@ static void ParsePES( demux_t *p_demux, ts_pid_t *pid, block_t *p_pes )
 
                 /* SL in PES */
                 if( pid->u.p_pes->i_stream_type == 0x12 &&
-                    ((i_stream_id & 0xFA) == 0xFA) /* 0xFA || 0xFB */ )
+                    ((i_stream_id & 0xFE) == 0xFA) /* 0xFA || 0xFB */ )
                 {
                     const es_mpeg4_descriptor_t *p_desc =
                             GetMPEG4DescByEsId( p_pmt, pid->u.p_pes->es.i_sl_es_id );



More information about the vlc-commits mailing list