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 103972b..becc5b7 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;;