forked from len0rd/rockbox
Codecs: mp4: Improve support for long files. Part 2
Don't store sample_to_chunk table and read data on demand instead (it's required only once for building lookup table). It allows to store 2x bigger lookup table. Change-Id: Ida79d0c281040300d6561e124fe10ebacb0e4679
This commit is contained in:
parent
3c9be11411
commit
6acb6446e6
2 changed files with 38 additions and 42 deletions
|
@ -71,7 +71,7 @@ typedef struct
|
|||
fourcc_t format;
|
||||
void *buf;
|
||||
|
||||
sample_to_chunk_t *sample_to_chunk;
|
||||
int32_t sample_to_chunk_offset;
|
||||
uint32_t num_sample_to_chunks;
|
||||
|
||||
sample_offset_t *lookup_table;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue