summaryrefslogtreecommitdiff
path: root/lib/rbcodec/codecs/libm4a/m4a.h
diff options
context:
space:
mode:
authorroman.artiukhin <bahusdrive@gmail.com>2023-09-18 13:14:47 +0300
committerSolomon Peachy <pizza@shaftnet.org>2023-09-19 11:13:19 -0400
commit001a338e5126cbec422867481ef7485b1b3c8eea (patch)
tree6593e544ee074ca86f79df7d9f04814ce21c323d /lib/rbcodec/codecs/libm4a/m4a.h
parentef7d6009b4f8b2e64d6ced27bc97aad0b520271e (diff)
downloadrockbox-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.h4
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);
131unsigned int get_sample_offset(demux_res_t *demux_res, uint32_t sample); 131unsigned int get_sample_offset(demux_res_t *demux_res, uint32_t sample);
132unsigned int m4a_seek (demux_res_t* demux_res, stream_t* stream, 132unsigned 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);
135unsigned int m4a_seek_raw (demux_res_t* demux_res, stream_t* stream, 135unsigned 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);
137int m4a_check_sample_offset(demux_res_t *demux_res, uint32_t frame, uint32_t *start); 137int 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 */