diff options
author | roman.artiukhin <bahusdrive@gmail.com> | 2023-09-18 13:14:47 +0300 |
---|---|---|
committer | Solomon Peachy <pizza@shaftnet.org> | 2023-09-19 11:13:19 -0400 |
commit | 001a338e5126cbec422867481ef7485b1b3c8eea (patch) | |
tree | 6593e544ee074ca86f79df7d9f04814ce21c323d /lib/rbcodec/codecs/libm4a/m4a.h | |
parent | ef7d6009b4f8b2e64d6ced27bc97aad0b520271e (diff) | |
download | rockbox-001a338e5126cbec422867481ef7485b1b3c8eea.tar.gz rockbox-001a338e5126cbec422867481ef7485b1b3c8eea.zip |
Codecs: mp4: Reuse lookup_table index from seek in m4a_check_sample_offset
Change-Id: If2fc3038ce8db8ddf2991406a5cce294a857eadc
Diffstat (limited to 'lib/rbcodec/codecs/libm4a/m4a.h')
-rw-r--r-- | lib/rbcodec/codecs/libm4a/m4a.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/rbcodec/codecs/libm4a/m4a.h b/lib/rbcodec/codecs/libm4a/m4a.h index 475773834c..bcc32f53bb 100644 --- a/lib/rbcodec/codecs/libm4a/m4a.h +++ b/lib/rbcodec/codecs/libm4a/m4a.h | |||
@@ -131,9 +131,9 @@ void stream_create(stream_t *stream,struct codec_api* ci); | |||
131 | unsigned int get_sample_offset(demux_res_t *demux_res, uint32_t sample); | 131 | unsigned int get_sample_offset(demux_res_t *demux_res, uint32_t sample); |
132 | unsigned int m4a_seek (demux_res_t* demux_res, stream_t* stream, | 132 | unsigned int m4a_seek (demux_res_t* demux_res, stream_t* stream, |
133 | uint64_t sound_sample_loc, uint64_t* sound_samples_done, | 133 | uint64_t sound_sample_loc, uint64_t* sound_samples_done, |
134 | int* current_sample); | 134 | int* current_sample, int* lookup_table_idx); |
135 | unsigned int m4a_seek_raw (demux_res_t* demux_res, stream_t* stream, | 135 | unsigned int m4a_seek_raw (demux_res_t* demux_res, stream_t* stream, |
136 | uint32_t file_loc, uint64_t* sound_samples_done, int* current_sample); | 136 | uint32_t file_loc, uint64_t* sound_samples_done, int* current_sample, int* lookup_table_idx); |
137 | int m4a_check_sample_offset(demux_res_t *demux_res, uint32_t frame, uint32_t *start); | 137 | int m4a_check_sample_offset(demux_res_t *demux_res, uint32_t frame, uint32_t *start); |
138 | 138 | ||
139 | #endif /* STREAM_H */ | 139 | #endif /* STREAM_H */ |