diff options
Diffstat (limited to 'apps/codecs/libm4a')
-rw-r--r-- | apps/codecs/libm4a/m4a.c | 17 | ||||
-rw-r--r-- | apps/codecs/libm4a/m4a.h | 2 |
2 files changed, 0 insertions, 19 deletions
diff --git a/apps/codecs/libm4a/m4a.c b/apps/codecs/libm4a/m4a.c index 84144ea76c..5fe778ac03 100644 --- a/apps/codecs/libm4a/m4a.c +++ b/apps/codecs/libm4a/m4a.c | |||
@@ -67,16 +67,6 @@ uint32_t stream_read_uint32(stream_t *stream) | |||
67 | return v; | 67 | return v; |
68 | } | 68 | } |
69 | 69 | ||
70 | int16_t stream_read_int16(stream_t *stream) | ||
71 | { | ||
72 | int16_t v; | ||
73 | stream_read(stream, 2, &v); | ||
74 | #ifdef ROCKBOX_LITTLE_ENDIAN | ||
75 | _Swap16(v); | ||
76 | #endif | ||
77 | return v; | ||
78 | } | ||
79 | |||
80 | uint16_t stream_read_uint16(stream_t *stream) | 70 | uint16_t stream_read_uint16(stream_t *stream) |
81 | { | 71 | { |
82 | uint16_t v; | 72 | uint16_t v; |
@@ -87,13 +77,6 @@ uint16_t stream_read_uint16(stream_t *stream) | |||
87 | return v; | 77 | return v; |
88 | } | 78 | } |
89 | 79 | ||
90 | int8_t stream_read_int8(stream_t *stream) | ||
91 | { | ||
92 | int8_t v; | ||
93 | stream_read(stream, 1, &v); | ||
94 | return v; | ||
95 | } | ||
96 | |||
97 | uint8_t stream_read_uint8(stream_t *stream) | 80 | uint8_t stream_read_uint8(stream_t *stream) |
98 | { | 81 | { |
99 | uint8_t v; | 82 | uint8_t v; |
diff --git a/apps/codecs/libm4a/m4a.h b/apps/codecs/libm4a/m4a.h index 4847e2db32..aa8e768045 100644 --- a/apps/codecs/libm4a/m4a.h +++ b/apps/codecs/libm4a/m4a.h | |||
@@ -117,10 +117,8 @@ int32_t stream_tell(stream_t *stream); | |||
117 | int32_t stream_read_int32(stream_t *stream); | 117 | int32_t stream_read_int32(stream_t *stream); |
118 | uint32_t stream_read_uint32(stream_t *stream); | 118 | uint32_t stream_read_uint32(stream_t *stream); |
119 | 119 | ||
120 | int16_t stream_read_int16(stream_t *stream); | ||
121 | uint16_t stream_read_uint16(stream_t *stream); | 120 | uint16_t stream_read_uint16(stream_t *stream); |
122 | 121 | ||
123 | int8_t stream_read_int8(stream_t *stream); | ||
124 | uint8_t stream_read_uint8(stream_t *stream); | 122 | uint8_t stream_read_uint8(stream_t *stream); |
125 | 123 | ||
126 | void stream_skip(stream_t *stream, size_t skip); | 124 | void stream_skip(stream_t *stream, size_t skip); |