[vlc-devel] commit: fix ts demuxing AAC with ADTS headers ( Rafaël Carré )

git version control git at videolan.org
Thu Mar 13 16:19:18 CET 2008


vlc | branch: master | Rafaël Carré <funman at videolan.org> | Thu Mar 13 13:47:48 2008 +0100| [eebf82ef2e66117fedb21036966daa62d7492225]

fix ts demuxing AAC with ADTS headers

0x11 is the type for AAC synchronized with LOAS
0x0f is the type for AAC synchronized with ADTS

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

 modules/demux/ts.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/modules/demux/ts.c b/modules/demux/ts.c
index 103972b..becc5b7 100644
--- a/modules/demux/ts.c
+++ b/modules/demux/ts.c
@@ -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;;




More information about the vlc-devel mailing list