diff options
author | Michiel Van Der Kolk <not.valid@email.address> | 2005-04-29 23:20:41 +0000 |
---|---|---|
committer | Michiel Van Der Kolk <not.valid@email.address> | 2005-04-29 23:20:41 +0000 |
commit | f5f8c05a31b43b6b0368d5c1a0af360e5cbee465 (patch) | |
tree | 273528698ca8c86ff0bf4b27c44fbf5d5dfbcf9a /apps/plugins/searchengine/searchengine.c | |
parent | 6ca95008116ca20bad11f54c45e833410a532f68 (diff) |
*whistles*
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6386 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/plugins/searchengine/searchengine.c')
-rw-r--r-- | apps/plugins/searchengine/searchengine.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/apps/plugins/searchengine/searchengine.c b/apps/plugins/searchengine/searchengine.c index 6459a59230..112300c506 100644 --- a/apps/plugins/searchengine/searchengine.c +++ b/apps/plugins/searchengine/searchengine.c @@ -37,6 +37,7 @@ void *my_malloc(size_t size) = rb->plugin_get_audio_buffer(&audio_buffer_free); audio_bufferpointer+=3; audio_bufferpointer&=~3; + audio_buffer_free-=audio_bufferpointer-audiobufferbase; } if (size + 4 > audio_buffer_free) return 0; |