diff libmpcodecs/vf_crop.c @ 30653:3d23e24c5c60

Declare externally used variables from vd.c as extern in vd.h. This saves declaring them as extern all over the place.
author diego
date Mon, 22 Feb 2010 09:51:44 +0000
parents a972c1a4a012
children
line wrap: on
line diff
--- a/libmpcodecs/vf_crop.c	Sun Feb 21 23:36:36 2010 +0000
+++ b/libmpcodecs/vf_crop.c	Mon Feb 22 09:51:44 2010 +0000
@@ -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 @@
   -1,-1
 };
 
-extern int opt_screen_size_x;
-extern int opt_screen_size_y;
-
 //===========================================================================//
 
 static int config(struct vf_instance *vf,