diff options
-rw-r--r-- | mencoder.c | 4 | ||||
-rw-r--r-- | mplayer.c | 2 | ||||
-rw-r--r-- | stream/cache2.h | 2 |
3 files changed, 2 insertions, 6 deletions
diff --git a/mencoder.c b/mencoder.c index 960799f67f..34053e3fce 100644 --- a/mencoder.c +++ b/mencoder.c @@ -116,12 +116,8 @@ int forced_subs_only=0; // cache2: int stream_cache_size=-1; #ifdef CONFIG_STREAM_CACHE -extern int cache_fill_status; - float stream_cache_min_percent=20.0; float stream_cache_seek_min_percent=50.0; -#else -#define cache_fill_status 0 #endif int vobsub_id=-1; @@ -320,8 +320,6 @@ int file_filter=1; // cache2: int stream_cache_size=-1; #ifdef CONFIG_STREAM_CACHE -extern int cache_fill_status; - float stream_cache_min_percent=20.0; float stream_cache_seek_min_percent=50.0; #else diff --git a/stream/cache2.h b/stream/cache2.h index 330558333e..2e6a4e0dbb 100644 --- a/stream/cache2.h +++ b/stream/cache2.h @@ -21,6 +21,8 @@ #include "stream.h" +extern int cache_fill_status; + void cache_uninit(stream_t *s); int cache_do_control(stream_t *stream, int cmd, void *arg); |