mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-12-09 13:15:18 -05:00
Codecs: mp4: metadata: Fix time length in very large files
Fix 40 hours long book reported as 14 hours due to samples overflow Change-Id: I5988d4492b1f51081fff921180de6fe384ab5f4f
This commit is contained in:
parent
df51d49b22
commit
d2f7777f7a
2 changed files with 4 additions and 6 deletions
|
|
@ -259,7 +259,7 @@ struct mp3entry {
|
|||
int tail_trim; /* Number of samples to remove from the end */
|
||||
|
||||
/* Added for Vorbis, used by mp4 parser as well. */
|
||||
unsigned long samples; /* number of samples in track */
|
||||
uint64_t samples; /* number of samples in track */
|
||||
|
||||
/* MP3 stream specific info */
|
||||
unsigned long frame_count; /* number of frames in the file (if VBR) */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue