changeset 32062:734f9a57c186

Move stream_cache_* extern variable declarations to mpcommon.h.
author diego
date Sat, 11 Sep 2010 11:38:36 +0000
parents dcdcbe7f6713
children bfd3e0d9ab9d
files libmpdemux/demuxer.c mpcommon.h
diffstat 2 files changed, 4 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/libmpdemux/demuxer.c	Sat Sep 11 11:33:07 2010 +0000
+++ b/libmpdemux/demuxer.c	Sat Sep 11 11:38:36 2010 +0000
@@ -1139,9 +1139,6 @@
 char *audio_demuxer_name = NULL; // parameter from -audio-demuxer
 char *sub_demuxer_name = NULL;   // parameter from -sub-demuxer
 
-extern float stream_cache_min_percent;
-extern float stream_cache_seek_min_percent;
-
 demuxer_t *demux_open(stream_t *vs, int file_format, int audio_id,
                       int video_id, int dvdsub_id, char *filename)
 {
--- a/mpcommon.h	Sat Sep 11 11:33:07 2010 +0000
+++ b/mpcommon.h	Sat Sep 11 11:38:36 2010 +0000
@@ -45,12 +45,15 @@
 
 extern int disable_system_conf;
 extern int disable_user_conf;
-extern int stream_cache_size;
 extern int audio_id;
 extern int video_id;
 extern int dvdsub_id;
 extern int vobsub_id;
 
+extern int stream_cache_size;
+extern float stream_cache_min_percent;
+extern float stream_cache_seek_min_percent;
+
 extern const char *mencoder_version;
 extern const char *mplayer_version;