summaryrefslogtreecommitdiff
path: root/apps/rbcodec_helpers.c
diff options
context:
space:
mode:
authorNils Wallménius <nils@rockbox.org>2012-05-08 15:39:24 +0200
committerNils Wallménius <nils@rockbox.org>2012-05-08 15:39:24 +0200
commit158aeb5087b6d58eceedc46bd5ac301bcbfaff03 (patch)
treecff6670cd441be81d9f0de6bdf4d2651270d9b6b /apps/rbcodec_helpers.c
parent3c26f131df0c56c3391ac2bbf6e6e76b951ddd45 (diff)
Add more #ifdefs
Change-Id: I46a1eb7e012363cc7337282497c62f86fd16c8dc
Diffstat (limited to 'apps/rbcodec_helpers.c')
-rw-r--r--apps/rbcodec_helpers.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/apps/rbcodec_helpers.c b/apps/rbcodec_helpers.c
index a7c592c62c..3de92f89f9 100644
--- a/apps/rbcodec_helpers.c
+++ b/apps/rbcodec_helpers.c
@@ -26,6 +26,7 @@
#include "core_alloc.h"
#include "tdspeed.h"
+#ifdef HAVE_PITCHSCREEN
static int handles[4] = { 0, 0, 0, 0 };
static int move_callback(int handle, void *current, void *new)
@@ -99,4 +100,5 @@ void tdspeed_free_buffers(int32_t **buffers, int nbuf)
buffers[i] = NULL;
}
}
+#endif /* HAVE_PITCHSCREEN */