summaryrefslogtreecommitdiffstats
path: root/libmpcodecs/vf_crop.c
diff options
context:
space:
mode:
authordiego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2>2010-02-22 09:51:44 +0000
committerdiego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2>2010-02-22 09:51:44 +0000
commit36a14ac50cfdfaba97e1a8f599816bf6a03da323 (patch)
tree866a73f418efa17be68bb02e0229eeb167b2f99c /libmpcodecs/vf_crop.c
parent22e310b9aef77477e022874beb388514911ead1e (diff)
downloadmpv-36a14ac50cfdfaba97e1a8f599816bf6a03da323.tar.bz2
mpv-36a14ac50cfdfaba97e1a8f599816bf6a03da323.tar.xz
Declare externally used variables from vd.c as extern in vd.h.
This saves declaring them as extern all over the place. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30695 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'libmpcodecs/vf_crop.c')
-rw-r--r--libmpcodecs/vf_crop.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/libmpcodecs/vf_crop.c b/libmpcodecs/vf_crop.c
index 19935ce600..20b0228d82 100644
--- a/libmpcodecs/vf_crop.c
+++ b/libmpcodecs/vf_crop.c
@@ -26,6 +26,7 @@
#include "img_format.h"
#include "mp_image.h"
+#include "vd.h"
#include "vf.h"
#include "m_option.h"
@@ -39,9 +40,6 @@ static const struct vf_priv_s {
-1,-1
};
-extern int opt_screen_size_x;
-extern int opt_screen_size_y;
-
//===========================================================================//
static int config(struct vf_instance *vf,