summaryrefslogtreecommitdiffstats
path: root/apps/plugins/video.c
diff options
context:
space:
mode:
authorBertrik Sikken <bertrik@sikken.nl>2011-10-15 20:51:12 +0000
committerBertrik Sikken <bertrik@sikken.nl>2011-10-15 20:51:12 +0000
commit50ac7ca7742e1bec2dd4d66ddffe7b1fe39535dd (patch)
tree39e608b43b0bbd1bda011c61e3ebb811bba54fa4 /apps/plugins/video.c
parentfe67a87885816448e78a99ef0cbe8fd331c3b103 (diff)
downloadrockbox-50ac7ca7742e1bec2dd4d66ddffe7b1fe39535dd.tar.gz
rockbox-50ac7ca7742e1bec2dd4d66ddffe7b1fe39535dd.zip
Fix warnings
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30759 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/plugins/video.c')
-rw-r--r--apps/plugins/video.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/apps/plugins/video.c b/apps/plugins/video.c
index 8fd1071c1e..9053ae7fb0 100644
--- a/apps/plugins/video.c
+++ b/apps/plugins/video.c
@@ -216,6 +216,7 @@ static int Available(unsigned char* pSnapshot)
}
/* debug function to draw buffer indicators */
+#ifdef VIDEO_DEBUG
static void DrawBuf(void)
{
int ypos, fill, video, audio;
@@ -244,6 +245,7 @@ static void DrawBuf(void)
else
gPlay.bDirtyOSD = true; /* redraw it with next timer IRQ */
}
+#endif
/* helper function to draw a position indicator */