summaryrefslogtreecommitdiff
path: root/apps/codecs/lib/xxx2wav.c
diff options
context:
space:
mode:
authorMagnus Holmgren <magnushol@gmail.com>2005-09-18 12:44:27 +0000
committerMagnus Holmgren <magnushol@gmail.com>2005-09-18 12:44:27 +0000
commitf5ec0fa592f9e23625de38673d22c4c7ee0fdfad (patch)
tree76915ace39025c5bcecaaef658622a25e5fd25f5 /apps/codecs/lib/xxx2wav.c
parent59c995f58b52b1d41347ba4e81585423a29aa948 (diff)
downloadrockbox-f5ec0fa592f9e23625de38673d22c4c7ee0fdfad.tar.gz
rockbox-f5ec0fa592f9e23625de38673d22c4c7ee0fdfad.zip
iriver: fix problem with playing some long vorbis files (e.g., this week in tech, #21); the decoder would run out of memory and freeze rockbox.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7526 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/codecs/lib/xxx2wav.c')
-rw-r--r--apps/codecs/lib/xxx2wav.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/apps/codecs/lib/xxx2wav.c b/apps/codecs/lib/xxx2wav.c
index cd09d32450..776b29acfd 100644
--- a/apps/codecs/lib/xxx2wav.c
+++ b/apps/codecs/lib/xxx2wav.c
@@ -56,12 +56,14 @@ void* codec_calloc(size_t nmemb, size_t size)
56 return(x); 56 return(x);
57} 57}
58 58
59#if defined(SIMULATOR)
59void* codec_alloca(size_t size) 60void* codec_alloca(size_t size)
60{ 61{
61 void* x; 62 void* x;
62 x = codec_malloc(size); 63 x = codec_malloc(size);
63 return(x); 64 return(x);
64} 65}
66#endif
65 67
66void codec_free(void* ptr) { 68void codec_free(void* ptr) {
67 (void)ptr; 69 (void)ptr;