[MPlayer-cvslog] r32146 - in trunk: libmpdemux/demuxer.c mpcommon.h

diego subversion at mplayerhq.hu
Sat Sep 11 13:38:36 CEST 2010


Author: diego
Date: Sat Sep 11 13:38:36 2010
New Revision: 32146

Log:
Move stream_cache_* extern variable declarations to mpcommon.h.

Modified:
   trunk/libmpdemux/demuxer.c
   trunk/mpcommon.h

Modified: trunk/libmpdemux/demuxer.c
==============================================================================
--- trunk/libmpdemux/demuxer.c	Sat Sep 11 13:33:07 2010	(r32145)
+++ trunk/libmpdemux/demuxer.c	Sat Sep 11 13:38:36 2010	(r32146)
@@ -1139,9 +1139,6 @@ char *demuxer_name = NULL;       // para
 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)
 {

Modified: trunk/mpcommon.h
==============================================================================
--- trunk/mpcommon.h	Sat Sep 11 13:33:07 2010	(r32145)
+++ trunk/mpcommon.h	Sat Sep 11 13:38:36 2010	(r32146)
@@ -45,12 +45,15 @@ extern double vout_time_usage;
 
 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;
 


More information about the MPlayer-cvslog mailing list