projects
/
paraslash.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
16eb108
)
mp4: Don't store the sample size in the mp4 structure.
author
Andre Noll
<maan@tuebingen.mpg.de>
Wed, 11 Aug 2021 19:14:06 +0000
(21:14 +0200)
committer
Andre Noll
<maan@tuebingen.mpg.de>
Mon, 30 May 2022 19:37:35 +0000
(21:37 +0200)
Currently it is set but never read. We need to keep the read_int16()
call, however, to advance the file offset.
mp4.c
patch
|
blob
|
history
diff --git
a/mp4.c
b/mp4.c
index 0834b03dbff885b6d851879bc57dc5405c8857f4..9b7d5edb51e1823d712d29434d391a11fbb0dc86 100644
(file)
--- a/
mp4.c
+++ b/
mp4.c
@@
-15,7
+15,6
@@
struct mp4_track {
bool is_audio;
int32_t channelCount;
- int32_t sampleSize;
uint16_t sampleRate;
/* stsz */
@@
-552,7
+551,7
@@
static int32_t read_mp4a(struct mp4 *f)
read_int32(f); /* reserved */
t->channelCount = read_int16(f);
-
t->sampleSize =
read_int16(f);
+ read_int16(f);
read_int16(f);
read_int16(f);