[vlc-commits] demux: mp4: add lpcm stsd

Francois Cartegnie git at videolan.org
Thu Jun 5 20:32:20 CEST 2014


vlc | branch: master | Francois Cartegnie <fcvlcdev at free.fr> | Tue Jun  3 13:33:00 2014 +0200| [6cbdc4977a6d4abb0ffdb21be632b26becd88eb4] | committer: Francois Cartegnie

demux: mp4: add lpcm stsd

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

 modules/demux/mp4/libmp4.c |    1 +
 modules/demux/mp4/libmp4.h |    1 +
 2 files changed, 2 insertions(+)

diff --git a/modules/demux/mp4/libmp4.c b/modules/demux/mp4/libmp4.c
index 4ac1ba1..8685697 100644
--- a/modules/demux/mp4/libmp4.c
+++ b/modules/demux/mp4/libmp4.c
@@ -3312,6 +3312,7 @@ static const struct
 
     /* for codecs */
     { ATOM_soun,    MP4_ReadBox_sample_soun,  MP4_FreeBox_sample_soun },
+    { ATOM_lpcm,    MP4_ReadBox_sample_soun,  MP4_FreeBox_sample_soun },
     { ATOM_ms02,    MP4_ReadBox_sample_soun,  MP4_FreeBox_sample_soun },
     { ATOM_ms11,    MP4_ReadBox_sample_soun,  MP4_FreeBox_sample_soun },
     { ATOM_ms55,    MP4_ReadBox_sample_soun,  MP4_FreeBox_sample_soun },
diff --git a/modules/demux/mp4/libmp4.h b/modules/demux/mp4/libmp4.h
index 2937bc1..967dfe7 100644
--- a/modules/demux/mp4/libmp4.h
+++ b/modules/demux/mp4/libmp4.h
@@ -112,6 +112,7 @@
 #define ATOM_3gp4 VLC_FOURCC( '3', 'g', 'p', '4' )
 #define ATOM_esds VLC_FOURCC( 'e', 's', 'd', 's' )
 
+#define ATOM_lpcm VLC_FOURCC( 'l', 'p', 'c', 'm' )
 #define ATOM__mp3 VLC_FOURCC( '.', 'm', 'p', '3' )
 #define ATOM_ms02 VLC_FOURCC( 'm', 's', 0x0, 0x02 )
 #define ATOM_ms11 VLC_FOURCC( 'm', 's', 0x0, 0x11 )



More information about the vlc-commits mailing list