From 4db39fdfdb9caeb91ed7fbd87174faa49f8baeda Mon Sep 17 00:00:00 2001 From: Uoti Urpala Date: Sat, 25 Oct 2008 05:18:08 +0300 Subject: vd.c: Remove pointless SCREEN_SIZE_[XY] #defines The #defines look like they're pointless leftovers from removed code so remove them too. --- libmpcodecs/vd.c | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) (limited to 'libmpcodecs/vd.c') diff --git a/libmpcodecs/vd.c b/libmpcodecs/vd.c index fe9d1d7861..86b9f0c511 100644 --- a/libmpcodecs/vd.c +++ b/libmpcodecs/vd.c @@ -103,17 +103,14 @@ const vd_functions_t * const mpcodecs_vd_drivers[] = { #include "libvo/video_out.h" -#define SCREEN_SIZE_X 1 -#define SCREEN_SIZE_Y 1 - int mpcodecs_config_vo(sh_video_t *sh, int w, int h, unsigned int preferred_outfmt) { struct MPOpts *opts = sh->opts; int i, j; unsigned int out_fmt = 0; - int screen_size_x = 0; //SCREEN_SIZE_X; - int screen_size_y = 0; //SCREEN_SIZE_Y; + int screen_size_x = 0; + int screen_size_y = 0; vf_instance_t *vf = sh->vfilter, *sc = NULL; int palette = 0; int vocfg_flags = 0; @@ -249,9 +246,9 @@ int mpcodecs_config_vo(sh_video_t *sh, int w, int h, screen_size_y = opts->screen_size_y; if (!opts->vidmode) { if (!screen_size_x) - screen_size_x = SCREEN_SIZE_X; + screen_size_x = 1; if (!screen_size_y) - screen_size_y = SCREEN_SIZE_Y; + screen_size_y = 1; if (screen_size_x <= 8) screen_size_x *= sh->disp_w; if (screen_size_y <= 8) -- cgit v1.2.3