[vlc-commits] demux: mp4: change reserved to known value

Francois Cartegnie git at videolan.org
Fri Sep 26 20:55:47 CEST 2014


vlc | branch: master | Francois Cartegnie <fcvlcdev at free.fr> | Fri Sep 26 19:33:18 2014 +0200| [afc2c72d0fd08bfddfbda5cb4a00a644eb6f13b9] | committer: Francois Cartegnie

demux: mp4: change reserved to known value

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

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

diff --git a/modules/demux/mp4/libmp4.c b/modules/demux/mp4/libmp4.c
index 40e3def..8cb6f8b 100644
--- a/modules/demux/mp4/libmp4.c
+++ b/modules/demux/mp4/libmp4.c
@@ -887,7 +887,7 @@ static int MP4_ReadBox_mdhd( stream_t *p_stream, MP4_Box_t *p_box )
     decodeQtLanguageCode( i_language, p_box->data.p_mdhd->rgs_language,
                           &p_box->data.p_mdhd->b_mac_encoding );
 
-    MP4_GET2BYTES( p_box->data.p_mdhd->i_predefined );
+    MP4_GET2BYTES( p_box->data.p_mdhd->i_quality );
 
 #ifdef MP4_VERBOSE
     MP4_ConvertDate2Str( s_creation_time, p_box->data.p_mdhd->i_creation_time, false );
diff --git a/modules/demux/mp4/libmp4.h b/modules/demux/mp4/libmp4.h
index ef1809e..3893e99 100644
--- a/modules/demux/mp4/libmp4.h
+++ b/modules/demux/mp4/libmp4.h
@@ -390,7 +390,7 @@ typedef struct MP4_Box_data_mdhd_s
     char     rgs_language[3]; /* ISO-639-2/T or Mac lang table */
     bool     b_mac_encoding;  /* media using mac encoding */
 
-    uint16_t i_predefined;
+    uint16_t i_quality;
 
 } MP4_Box_data_mdhd_t;
 



More information about the vlc-commits mailing list