diff options
author | Nils Wallménius <nils@rockbox.org> | 2011-06-02 14:59:15 +0000 |
---|---|---|
committer | Nils Wallménius <nils@rockbox.org> | 2011-06-02 14:59:15 +0000 |
commit | 4909e09267ad1f2638d48d91b4b273d5508ec380 (patch) | |
tree | 768a0131e0b7e4d66f7e5130fb27ce3f85b1f8ae /apps/codecs/libm4a/m4a.c | |
parent | b58d3656d79e5f9752a22d55c139294412084e4f (diff) | |
download | rockbox-4909e09267ad1f2638d48d91b4b273d5508ec380.tar.gz rockbox-4909e09267ad1f2638d48d91b4b273d5508ec380.zip |
FS#12141 by Sean Bartell
Some of these were found with http://www.samba.org/junkcode/#findstatic. Changes of note:
* The old MDCT has been removed.
* Makefile.test files that create test programs for libatrac, libcook, and libffmpegFLAC have been removed, as they don't work. My project will have a replacement that works with all codecs.
* I've tried not to remove anything useful. CLIP_TO_15 was removed from libtremor because there's another copy (also commented) in codeclib.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29945 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/codecs/libm4a/m4a.c')
-rw-r--r-- | apps/codecs/libm4a/m4a.c | 17 |
1 files changed, 0 insertions, 17 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; |