]> git.sesse.net Git - ffmpeg/commitdiff
typo
authorDiego Biurrun <diego@biurrun.de>
Sat, 7 Apr 2007 14:07:51 +0000 (14:07 +0000)
committerDiego Biurrun <diego@biurrun.de>
Sat, 7 Apr 2007 14:07:51 +0000 (14:07 +0000)
Originally committed as revision 22932 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale

libswscale/swscale.c
libswscale/swscale_internal.h
libswscale/swscale_template.c

index 54924b0eeff8f1fcb88243b395e02c3435a6ad99..a56cdefa3f76fc0d74f6978a9536f67e5b4c5d18 100644 (file)
@@ -2050,7 +2050,7 @@ SwsContext *sws_getContext(int srcW, int srcH, int srcFormat, int dstW, int dstH
        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);
index 5b62ea065eb4e4ccbd702f36e5ac5085f89ae447..d5b7d6021ee9187a963681d45dd500ca9cde1420 100644 (file)
@@ -54,7 +54,7 @@ typedef struct SwsContext{
        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;
index ad46be12731eced24db8f0e5d9e4f32f9bc9b16f..9c1bb5fd4e6ef3e6d69f1275ac15566e6ca7849b 100644 (file)
@@ -2317,7 +2317,7 @@ static inline void RENAME(hScale)(int16_t *dst, int dstW, uint8_t *src, int srcW
 {
 #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;