From 001a338e5126cbec422867481ef7485b1b3c8eea Mon Sep 17 00:00:00 2001 From: "roman.artiukhin" Date: Mon, 18 Sep 2023 13:14:47 +0300 Subject: Codecs: mp4: Reuse lookup_table index from seek in m4a_check_sample_offset Change-Id: If2fc3038ce8db8ddf2991406a5cce294a857eadc --- lib/rbcodec/codecs/libm4a/m4a.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (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 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); unsigned int get_sample_offset(demux_res_t *demux_res, uint32_t sample); unsigned int m4a_seek (demux_res_t* demux_res, stream_t* stream, uint64_t sound_sample_loc, uint64_t* sound_samples_done, - int* current_sample); + int* current_sample, int* lookup_table_idx); unsigned int m4a_seek_raw (demux_res_t* demux_res, stream_t* stream, - uint32_t file_loc, uint64_t* sound_samples_done, int* current_sample); + uint32_t file_loc, uint64_t* sound_samples_done, int* current_sample, int* lookup_table_idx); int m4a_check_sample_offset(demux_res_t *demux_res, uint32_t frame, uint32_t *start); #endif /* STREAM_H */ -- cgit v1.2.3