changeset 31401:262d9759bfc5

Move field_dominance extern variable declaration to dec_video.h.
author diego
date Fri, 18 Jun 2010 17:03:13 +0000
parents f6864e52d6be
children c9e6eb55607e
files cfg-common.h libmpcodecs/dec_video.h
diffstat 2 files changed, 3 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/cfg-common.h	Fri Jun 18 17:00:23 2010 +0000
+++ b/cfg-common.h	Fri Jun 18 17:03:13 2010 +0000
@@ -26,15 +26,13 @@
 #include "mp_msg.h"
 
 #include "libmpcodecs/ad.h"
+#include "libmpcodecs/dec_video.h"
 #include "libmpcodecs/vd.h"
 #include "libmpdemux/demux_ts.h"
 #include "osdep/priority.h"
 #include "stream/network.h"
 #include "codec-cfg.h"
 
-/* defined in dec_video.c */
-extern int field_dominance;
-
 /* from dec_audio, currently used for ac3surround decoder only */
 extern int audio_output_channels;
 extern int fakemono;
--- a/libmpcodecs/dec_video.h	Fri Jun 18 17:00:23 2010 +0000
+++ b/libmpcodecs/dec_video.h	Fri Jun 18 17:03:13 2010 +0000
@@ -21,6 +21,8 @@
 
 #include "libmpdemux/stheader.h"
 
+extern int field_dominance;
+
 // dec_video.c:
 void vfm_help(void);