From 6acb6446e6e4e31e3df983dd566739e691a9e521 Mon Sep 17 00:00:00 2001 From: "roman.artiukhin" Date: Thu, 31 Aug 2023 00:45:46 +0300 Subject: 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 --- lib/rbcodec/codecs/libm4a/m4a.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/rbcodec/codecs/libm4a/m4a.h') 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 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; -- cgit v1.2.3