summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--apps/codecs/mpa.c7
-rw-r--r--apps/plugins/mpegplayer/alloc.c8
2 files changed, 0 insertions, 15 deletions
diff --git a/apps/codecs/mpa.c b/apps/codecs/mpa.c
index 1181c1e1fb..7ac96fb8b2 100644
--- a/apps/codecs/mpa.c
+++ b/apps/codecs/mpa.c
@@ -29,13 +29,6 @@ struct mad_stream stream IBSS_ATTR;
29struct mad_frame frame IBSS_ATTR; 29struct mad_frame frame IBSS_ATTR;
30struct mad_synth synth IBSS_ATTR; 30struct mad_synth synth IBSS_ATTR;
31 31
32/* The following function is used inside libmad - let's hope it's never
33 called.
34*/
35
36void abort(void) {
37}
38
39#define INPUT_CHUNK_SIZE 8192 32#define INPUT_CHUNK_SIZE 8192
40 33
41mad_fixed_t mad_frame_overlap[2][32][18] IBSS_ATTR; 34mad_fixed_t mad_frame_overlap[2][32][18] IBSS_ATTR;
diff --git a/apps/plugins/mpegplayer/alloc.c b/apps/plugins/mpegplayer/alloc.c
index 0feabdbbed..c4f936ee14 100644
--- a/apps/plugins/mpegplayer/alloc.c
+++ b/apps/plugins/mpegplayer/alloc.c
@@ -256,11 +256,3 @@ void *memset(void *s, int c, size_t n)
256 return rb->memset(s,c,n); 256 return rb->memset(s,c,n);
257} 257}
258 258
259void abort(void)
260{
261 rb->lcd_putsxy(0,0,"ABORT!");
262 rb->lcd_update();
263
264 while (1);
265 /* Let's hope this is never called */
266}