summaryrefslogtreecommitdiff
path: root/lib/rbcodec/codecs/libm4a/m4a.h
diff options
context:
space:
mode:
authorroman.artiukhin <bahusdrive@gmail.com>2023-08-31 00:45:46 +0300
committerSolomon Peachy <pizza@shaftnet.org>2023-09-18 11:29:05 -0400
commit6acb6446e6e4e31e3df983dd566739e691a9e521 (patch)
tree22b6e921be359a651f081bf0c89bfba37579de12 /lib/rbcodec/codecs/libm4a/m4a.h
parent3c9be11411c4abeefc0cf2233fbd2b421ffebe64 (diff)
downloadrockbox-6acb6446e6e4e31e3df983dd566739e691a9e521.tar.gz
rockbox-6acb6446e6e4e31e3df983dd566739e691a9e521.zip
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
Diffstat (limited to 'lib/rbcodec/codecs/libm4a/m4a.h')
-rw-r--r--lib/rbcodec/codecs/libm4a/m4a.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/rbcodec/codecs/libm4a/m4a.h b/lib/rbcodec/codecs/libm4a/m4a.h
index 9e159fe527..475773834c 100644
--- a/lib/rbcodec/codecs/libm4a/m4a.h
+++ b/lib/rbcodec/codecs/libm4a/m4a.h
@@ -71,7 +71,7 @@ typedef struct
71 fourcc_t format; 71 fourcc_t format;
72 void *buf; 72 void *buf;
73 73
74 sample_to_chunk_t *sample_to_chunk; 74 int32_t sample_to_chunk_offset;
75 uint32_t num_sample_to_chunks; 75 uint32_t num_sample_to_chunks;
76 76
77 sample_offset_t *lookup_table; 77 sample_offset_t *lookup_table;