diff options
Diffstat (limited to 'lib/rbcodec/codecs/libm4a/m4a.h')
-rw-r--r-- | lib/rbcodec/codecs/libm4a/m4a.h | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/lib/rbcodec/codecs/libm4a/m4a.h b/lib/rbcodec/codecs/libm4a/m4a.h index bcc32f53bb..7120f8b4c6 100644 --- a/lib/rbcodec/codecs/libm4a/m4a.h +++ b/lib/rbcodec/codecs/libm4a/m4a.h @@ -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 */ |