1
0
Fork 0
forked from len0rd/rockbox

Codecs: mp4: Accurate seek in large files with small lookup_table

Read sample_byte_sizes table on demand when it can't be cached

Change-Id: I2191be63ceebfd8b16e1e973e13c5b51986b6564
This commit is contained in:
roman.artiukhin 2023-09-05 00:45:32 +03:00
parent e01055a287
commit 57409f52d5
3 changed files with 25 additions and 6 deletions

View file

@ -82,6 +82,7 @@ typedef struct
uint32_t *sample_byte_sizes;
uint32_t num_sample_byte_sizes;
int32_t sample_byte_sizes_offset;
uint32_t codecdata_len;
uint8_t codecdata[MAX_CODECDATA_SIZE];