# HG changeset patch # User diego # Date 1224181458 0 # Node ID d120b2951b37511b039e8ce7984e09dd98ba59bc # Parent 2c11b155ff115fb446f97c0cff2ece3cc450dd85 Move SCREEN_SIZE_X/Y definition to libmpcodecs/vd.c where it is used. config.h should only contain option definitions, no logic. diff -r 2c11b155ff11 -r d120b2951b37 configure --- a/configure Thu Oct 16 18:19:36 2008 +0000 +++ b/configure Thu Oct 16 18:24:18 2008 +0000 @@ -8556,8 +8556,6 @@ $_def_vidix_pfx /* libvo options */ -#define SCREEN_SIZE_X 1 -#define SCREEN_SIZE_Y 1 $_def_x11 $_def_xv $_def_xvmc diff -r 2c11b155ff11 -r d120b2951b37 libmpcodecs/vd.c --- a/libmpcodecs/vd.c Thu Oct 16 18:19:36 2008 +0000 +++ b/libmpcodecs/vd.c Thu Oct 16 18:24:18 2008 +0000 @@ -134,6 +134,9 @@ extern vd_functions_t* mpvdec; // FIXME! +#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){ int i,j; unsigned int out_fmt=0;