[vlc-commits] demux: mp4: expand sample rate to 32bits

Francois Cartegnie git at videolan.org
Thu Apr 6 11:02:48 CEST 2017


vlc | branch: master | Francois Cartegnie <fcvlcdev at free.fr> | Thu Apr  6 11:01:15 2017 +0200| [7aab8db1e3b7ea19dfe0ffcdacdb8ddc2f74ac88] | committer: Francois Cartegnie

demux: mp4: expand sample rate to 32bits

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

 modules/demux/mp4/libmp4.h | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/modules/demux/mp4/libmp4.h b/modules/demux/mp4/libmp4.h
index 8bffc07..c4cbb94 100644
--- a/modules/demux/mp4/libmp4.h
+++ b/modules/demux/mp4/libmp4.h
@@ -637,8 +637,8 @@ typedef struct MP4_Box_data_sample_soun_s
     uint16_t i_samplesize;
     uint16_t i_compressionid;
     uint16_t i_reserved3;
-    uint16_t i_sampleratehi; /* timescale of track */
-    uint16_t i_sampleratelo;
+    uint32_t i_sampleratehi; /* timescale of track */
+    uint32_t i_sampleratelo;
 
     /* for version 1 (i_reserved1[0] == 1) */
     uint32_t i_sample_per_packet;



More information about the vlc-commits mailing list