changeset 31416:14f43ed62015

Move sws_flags extern variable declaration to vf_scale.h.
author diego
date Sun, 20 Jun 2010 14:40:42 +0000
parents 980678284eb5
children ca9623cfa117
files cfg-common.h libmpcodecs/vf_scale.h libvo/vo_x11.c
diffstat 3 files changed, 3 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/cfg-common.h	Sun Jun 20 14:38:54 2010 +0000
+++ b/cfg-common.h	Sun Jun 20 14:40:42 2010 +0000
@@ -29,6 +29,7 @@
 #include "libmpcodecs/dec_audio.h"
 #include "libmpcodecs/dec_video.h"
 #include "libmpcodecs/vd.h"
+#include "libmpcodecs/vf_scale.h"
 #include "libmpdemux/demux_mpg.h"
 #include "libmpdemux/demux_ts.h"
 #include "libmpdemux/demux_viv.h"
@@ -48,8 +49,6 @@
 extern const m_option_t demux_rawvideo_opts[];
 extern const m_option_t cdda_opts[];
 
-extern int sws_flags;
-
 
 #include "stream/tv.h"
 #include "stream/stream_radio.h"
--- a/libmpcodecs/vf_scale.h	Sun Jun 20 14:38:54 2010 +0000
+++ b/libmpcodecs/vf_scale.h	Sun Jun 20 14:40:42 2010 +0000
@@ -19,6 +19,8 @@
 #ifndef MPLAYER_VF_SCALE_H
 #define MPLAYER_VF_SCALE_H
 
+extern int sws_flags;
+
 int get_sws_cpuflags(void);
 struct SwsContext *sws_getContextFromCmdLine(int srcW, int srcH, int srcFormat, int dstW, int dstH, int dstFormat);
 
--- a/libvo/vo_x11.c	Sun Jun 20 14:38:54 2010 +0000
+++ b/libvo/vo_x11.c	Sun Jun 20 14:40:42 2010 +0000
@@ -149,7 +149,6 @@
 
 static struct SwsContext *swsContext = NULL;
 static int dst_width;
-extern int sws_flags;
 
 static XVisualInfo vinfo;