summaryrefslogtreecommitdiff
path: root/lib/rbcodec/codecs/libm4a/m4a.h
diff options
context:
space:
mode:
Diffstat (limited to 'lib/rbcodec/codecs/libm4a/m4a.h')
-rw-r--r--lib/rbcodec/codecs/libm4a/m4a.h14
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 {
45 45
46typedef uint32_t fourcc_t; 46typedef uint32_t fourcc_t;
47 47
48typedef struct 48typedef struct
49{ 49{
50 uint32_t first_chunk; 50 uint32_t first_chunk;
51 uint32_t num_samples; 51 uint32_t num_samples;
52} sample_to_chunk_t; 52} sample_to_chunk_t;
53 53
54typedef struct 54typedef struct
55{ 55{
56 uint32_t sample_count; 56 uint32_t sample_count;
57 uint32_t sample_duration; 57 uint32_t sample_duration;
@@ -73,10 +73,10 @@ typedef struct
73 73
74 int32_t sample_to_chunk_offset; 74 int32_t sample_to_chunk_offset;
75 uint32_t num_sample_to_chunks; 75 uint32_t num_sample_to_chunks;
76 76
77 sample_offset_t *lookup_table; 77 sample_offset_t *lookup_table;
78 uint32_t num_lookup_table; 78 uint32_t num_lookup_table;
79 79
80 time_to_sample_t *time_to_sample; 80 time_to_sample_t *time_to_sample;
81 uint32_t num_time_to_samples; 81 uint32_t num_time_to_samples;
82 82
@@ -130,10 +130,10 @@ int stream_eof(stream_t *stream);
130void stream_create(stream_t *stream,struct codec_api* ci); 130void 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, int* lookup_table_idx); 134 uint32_t* current_sample, uint32_t* 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, int* lookup_table_idx); 136 uint32_t file_loc, uint64_t* sound_samples_done, uint32_t* current_sample, uint32_t* 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 */