[MPlayer-cvslog] r27210 - trunk/stream/stream.c

diego subversion at mplayerhq.hu
Sat Jul 5 16:22:57 CEST 2008


Author: diego
Date: Sat Jul  5 16:22:57 2008
New Revision: 27210

Log:
Surround stream cache specific code by an appropriate #ifdef; fixes linking
when stream cache is disabled.
noticed by Andrea Palmatè, andrea amigasoft net


Modified:
   trunk/stream/stream.c

Modified: trunk/stream/stream.c
==============================================================================
--- trunk/stream/stream.c	(original)
+++ trunk/stream/stream.c	Sat Jul  5 16:22:57 2008
@@ -381,8 +381,10 @@ void stream_reset(stream_t *s){
 
 int stream_control(stream_t *s, int cmd, void *arg){
   if(!s->control) return STREAM_UNSUPPORTED;
+#ifdef USE_STREAM_CACHE
   if (s->cache_pid)
     return cache_do_control(s, cmd, arg);
+#endif
   return s->control(s, cmd, arg);
 }
 



More information about the MPlayer-cvslog mailing list