# HG changeset patch # User diego # Date 1175954871 0 # Node ID 29827d88d2da69b9dcfda78e3c409ef3964a5286 # Parent 07ecf1d8922e2468af186a26221b81290e9a1cae typo diff -r 07ecf1d8922e -r 29827d88d2da libswscale/swscale.c --- a/libswscale/swscale.c Sat Apr 07 13:32:51 2007 +0000 +++ b/libswscale/swscale.c Sat Apr 07 14:07:51 2007 +0000 @@ -2050,7 +2050,7 @@ c->chrIntHSubSample= c->chrDstHSubSample; c->chrIntVSubSample= c->chrSrcVSubSample; - // note the -((-x)>>y) is so that we allways round toward +inf + // Note the -((-x)>>y) is so that we always round toward +inf. c->chrSrcW= -((-srcW) >> c->chrSrcHSubSample); c->chrSrcH= -((-srcH) >> c->chrSrcVSubSample); c->chrDstW= -((-dstW) >> c->chrDstHSubSample); diff -r 07ecf1d8922e -r 29827d88d2da libswscale/swscale_internal.h --- a/libswscale/swscale_internal.h Sat Apr 07 13:32:51 2007 +0000 +++ b/libswscale/swscale_internal.h Sat Apr 07 14:07:51 2007 +0000 @@ -54,7 +54,7 @@ int chrSrcW, chrSrcH, chrDstW, chrDstH; int lumXInc, chrXInc; int lumYInc, chrYInc; - int dstFormat, srcFormat; ///< format 4:2:0 type is allways YV12 + int dstFormat, srcFormat; ///< format 4:2:0 type is always YV12 int origDstFormat, origSrcFormat; ///< format int chrSrcHSubSample, chrSrcVSubSample; int chrIntHSubSample, chrIntVSubSample; diff -r 07ecf1d8922e -r 29827d88d2da libswscale/swscale_template.c --- a/libswscale/swscale_template.c Sat Apr 07 13:32:51 2007 +0000 +++ b/libswscale/swscale_template.c Sat Apr 07 14:07:51 2007 +0000 @@ -2317,7 +2317,7 @@ { #ifdef HAVE_MMX assert(filterSize % 4 == 0 && filterSize>0); - if(filterSize==4) // allways true for upscaling, sometimes for down too + if(filterSize==4) // Always true for upscaling, sometimes for down, too. { long counter= -2*dstW; filter-= counter*2;