changeset 32061:dcdcbe7f6713

Move video_time_usage / vout_time_usage extern var declarations to mpcommon.h.
author diego
date Sat, 11 Sep 2010 11:33:07 +0000
parents c3b7fc7eb796
children 734f9a57c186
files libmpcodecs/dec_video.c mpcommon.h
diffstat 2 files changed, 3 insertions(+), 5 deletions(-) [+]
line wrap: on
line diff
--- a/libmpcodecs/dec_video.c	Sat Sep 11 11:11:10 2010 +0000
+++ b/libmpcodecs/dec_video.c	Sat Sep 11 11:33:07 2010 +0000
@@ -24,6 +24,7 @@
 
 #include "mp_msg.h"
 #include "help_mp.h"
+#include "mpcommon.h"
 
 #include "osdep/timer.h"
 #include "osdep/shmem.h"
@@ -47,11 +48,6 @@
 #include <dlfcn.h>
 #endif
 
-// ===================================================================
-
-extern double video_time_usage;
-extern double vout_time_usage;
-
 #include "cpudetect.h"
 
 int field_dominance = -1;
--- a/mpcommon.h	Sat Sep 11 11:11:10 2010 +0000
+++ b/mpcommon.h	Sat Sep 11 11:33:07 2010 +0000
@@ -40,6 +40,8 @@
 
 extern float  font_factor;
 extern double force_fps;
+extern double video_time_usage;
+extern double vout_time_usage;
 
 extern int disable_system_conf;
 extern int disable_user_conf;