diff --git a/libvo/aspect.c b/libvo/aspect.c index df61d2938b..068690821c 100644 --- a/libvo/aspect.c +++ b/libvo/aspect.c @@ -99,11 +99,11 @@ void aspect_fit(int *srcw, int *srch, int fitw, int fith){ #ifdef ASPECT_DEBUG printf("aspect(2) wh: %dx%d (org: %dx%d)\n",*srcw,*srch,aspdat.prew,aspdat.preh); #endif - if(*srch>aspdat.scrh || *srchfith || *srch=aspdat.orgw*/){ + if(tmpw<=fitw /*&& tmpw>=aspdat.orgw*/){ *srch = fith; *srcw = tmpw; }else{