]> git.sesse.net Git - vlc/commitdiff
fix ts demuxing AAC with ADTS headers
authorRafaël Carré <funman@videolan.org>
Thu, 13 Mar 2008 12:47:48 +0000 (13:47 +0100)
committerRafaël Carré <funman@videolan.org>
Thu, 13 Mar 2008 12:47:48 +0000 (13:47 +0100)
0x11 is the type for AAC synchronized with LOAS
0x0f is the type for AAC synchronized with ADTS

modules/demux/ts.c

index 103972b18b6bc05a08795d70cb4bffe2e7597720..becc5b7f7be387cdb19498cf18170840ae993bae 100644 (file)
@@ -3042,7 +3042,7 @@ static void PMTCallBack( demux_t *p_demux, dvbpsi_pmt_t *p_pmt )
         pid->b_seen         = p_sys->pid[p_es->i_pid].b_seen;
 
         if( p_es->i_type == 0x10 || p_es->i_type == 0x11 ||
-            p_es->i_type == 0x12 )
+            p_es->i_type == 0x12 || p_es->i_type == 0x0f )
         {
             /* MPEG-4 stream: search SL_DESCRIPTOR */
             dvbpsi_descriptor_t *p_dr = p_es->p_first_descriptor;;