[vlc-commits] demux: ps: fix AAC regression

Francois Cartegnie git at videolan.org
Sun Mar 12 20:23:34 CET 2017


vlc | branch: master | Francois Cartegnie <fcvlcdev at free.fr> | Sun Mar 12 15:02:13 2017 +0100| [b9f177114830537767b607f1c0fdb230e3cb52f3] | committer: Francois Cartegnie

demux: ps: fix AAC regression

non packetized AAC should be ADTS or LATM

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

 modules/demux/mpeg/ps.h | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/modules/demux/mpeg/ps.h b/modules/demux/mpeg/ps.h
index 975c677..0dc22bf 100644
--- a/modules/demux/mpeg/ps.h
+++ b/modules/demux/mpeg/ps.h
@@ -236,10 +236,12 @@ static inline int ps_track_fill( ps_track_t *tk, ps_psm_t *p_psm, int i_id, bloc
             else if( i_type == 0x0f )
             {
                 es_format_Init( &tk->fmt, AUDIO_ES, VLC_CODEC_MP4A );
+                tk->fmt.i_original_fourcc = VLC_FOURCC('A','D','T','S');
             }
             else if( i_type == 0x11 )
             {
                 es_format_Init( &tk->fmt, AUDIO_ES, VLC_CODEC_MP4A );
+                tk->fmt.i_original_fourcc = VLC_FOURCC('L','A','T','M');
             }
             else if( tk->fmt.i_cat == UNKNOWN_ES )
             {



More information about the vlc-commits mailing list