1
0
Fork 0
forked from len0rd/rockbox

libm4a: Fix warnings introduced in 001a338e51

Change-Id: Ia915e6f8babbd71533f22af566e5c45c2b40fbe5
This commit is contained in:
Solomon Peachy 2023-09-19 11:47:38 -04:00
parent 001a338e51
commit ac82a653bb
3 changed files with 34 additions and 34 deletions

View file

@ -45,13 +45,13 @@ typedef struct {
typedef uint32_t fourcc_t;
typedef struct
typedef struct
{
uint32_t first_chunk;
uint32_t num_samples;
} sample_to_chunk_t;
typedef struct
typedef struct
{
uint32_t sample_count;
uint32_t sample_duration;
@ -73,10 +73,10 @@ typedef struct
int32_t sample_to_chunk_offset;
uint32_t num_sample_to_chunks;
sample_offset_t *lookup_table;
uint32_t num_lookup_table;
time_to_sample_t *time_to_sample;
uint32_t num_time_to_samples;
@ -130,10 +130,10 @@ int stream_eof(stream_t *stream);
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* lookup_table_idx);
uint64_t sound_sample_loc, uint64_t* sound_samples_done,
uint32_t* current_sample, uint32_t* 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, int* lookup_table_idx);
uint32_t file_loc, uint64_t* sound_samples_done, uint32_t* current_sample, uint32_t* lookup_table_idx);
int m4a_check_sample_offset(demux_res_t *demux_res, uint32_t frame, uint32_t *start);
#endif /* STREAM_H */