summaryrefslogtreecommitdiffstats
path: root/find_sub.c
diff options
context:
space:
mode:
Diffstat (limited to 'find_sub.c')
-rw-r--r--find_sub.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/find_sub.c b/find_sub.c
index 573146486f..e40d2f328e 100644
--- a/find_sub.c
+++ b/find_sub.c
@@ -2,6 +2,10 @@
// .SUB
//**************************************************************************//
+#include "config.h"
+
+#ifdef USE_OSD
+
#include <stdio.h>
#include "libvo/video_out.h"
@@ -104,3 +108,4 @@ void find_sub(subtitle* subtitles,int key){
vo_sub=NULL; // no sub here
}
+#endif