]> git.tue.mpg.de Git - paraslash.git/commitdiff
mp4: Make channel count a 16 bit quantity.
authorAndre Noll <maan@tuebingen.mpg.de>
Wed, 18 Aug 2021 13:05:09 +0000 (15:05 +0200)
committerAndre Noll <maan@tuebingen.mpg.de>
Mon, 30 May 2022 19:37:35 +0000 (21:37 +0200)
It gets initialized by reading an 16 bit integer.

mp4.c

diff --git a/mp4.c b/mp4.c
index 61feafdf2ce744aa593b4eaeb4c16d06aa60250a..49b975047399384bace263a7bd6bf27e57005c11 100644 (file)
--- a/mp4.c
+++ b/mp4.c
@@ -14,7 +14,7 @@
 
 struct mp4_track {
        bool is_audio;
-       uint32_t channelCount;
+       uint16_t channelCount;
        uint16_t sampleRate;
 
        /* stsz */