From 57409f52d5da3665a91c6cf2cbcef86ea1004ccf Mon Sep 17 00:00:00 2001 From: "roman.artiukhin" Date: Tue, 5 Sep 2023 00:45:32 +0300 Subject: 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 --- lib/rbcodec/codecs/libm4a/m4a.h | 1 + 1 file changed, 1 insertion(+) (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 7120f8b4c6..14b22f5dbf 100644 --- a/lib/rbcodec/codecs/libm4a/m4a.h +++ b/lib/rbcodec/codecs/libm4a/m4a.h @@ -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]; -- cgit v1.2.3