[vlc-commits] demux: mp4: add spec reference comment

Francois Cartegnie git at videolan.org
Fri Feb 8 21:20:22 CET 2019


vlc | branch: master | Francois Cartegnie <fcvlcdev at free.fr> | Fri Feb  8 17:13:59 2019 +0100| [4919a9432a581bb5cd11d01215094b905f11183a] | committer: Francois Cartegnie

demux: mp4: add spec reference comment

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

 modules/demux/mp4/essetup.c | 2 +-
 modules/demux/mp4/libmp4.c  | 2 +-
 modules/demux/mp4/libmp4.h  | 2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/modules/demux/mp4/essetup.c b/modules/demux/mp4/essetup.c
index c8db83fc11..2b8906e5db 100644
--- a/modules/demux/mp4/essetup.c
+++ b/modules/demux/mp4/essetup.c
@@ -52,7 +52,7 @@ static void SetupGlobalExtensions( mp4_track_t *p_track, MP4_Box_t *p_sample )
 static void SetupESDS( demux_t *p_demux, mp4_track_t *p_track, const MP4_descriptor_decoder_config_t *p_decconfig )
 {
     /* First update information based on i_objectTypeIndication */
-    /* See 14496-1 and http://www.mp4ra.org/object.html */
+    /* See 14496-1 and http://mp4ra.org/#/object_types */
     switch( p_decconfig->i_objectProfileIndication )
     {
     case( 0x20 ): /* MPEG4 VIDEO */
diff --git a/modules/demux/mp4/libmp4.c b/modules/demux/mp4/libmp4.c
index b2d675a20c..63e1eb9547 100644
--- a/modules/demux/mp4/libmp4.c
+++ b/modules/demux/mp4/libmp4.c
@@ -1715,7 +1715,7 @@ static int MP4_ReadBox_esds( stream_t *p_stream, MP4_Box_t *p_box )
 
 
     MP4_GET1BYTE( i_type );
-    if( i_type == 0x03 ) /* MP4ESDescrTag ISO/IEC 14496-1 8.3.3 */
+    if( i_type == 0x03 ) /* MP4ESDescrTag ISO/IEC 14496-1 */
     {
         i_len = MP4_ReadLengthDescriptor( &p_peek, &i_read );
         if( unlikely(i_len == UINT64_C(-1)) )
diff --git a/modules/demux/mp4/libmp4.h b/modules/demux/mp4/libmp4.h
index d1b54be832..d02a03d273 100644
--- a/modules/demux/mp4/libmp4.h
+++ b/modules/demux/mp4/libmp4.h
@@ -1018,7 +1018,7 @@ typedef struct MP4_descriptor_SL_config_s
 } MP4_descriptor_SL_config_t;
 
 
-typedef struct MP4_descriptor_ES_s
+typedef struct MP4_descriptor_ES_s /* ISO/IEC 14496-1 8.3.3 ES_DescrTag */
 {
     uint16_t i_ES_ID;
     int      b_stream_dependence;



More information about the vlc-commits mailing list