diff options
author | Diego Biurrun <diego@biurrun.de> | 2007-04-07 14:07:51 +0000 |
---|---|---|
committer | Diego Biurrun <diego@biurrun.de> | 2007-04-07 14:07:51 +0000 |
commit | 911406f2c476c8e8fcd0fdf997f071f925cd4a32 (patch) | |
tree | f59b0f1337cefa5eb9ef68715f98bee022694875 | |
parent | f5bccd85744da7909527c115f339e2dfb21f8dff (diff) | |
download | ffmpeg-911406f2c476c8e8fcd0fdf997f071f925cd4a32.tar.gz |
typo
Originally committed as revision 22932 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
-rw-r--r-- | libswscale/swscale.c | 2 | ||||
-rw-r--r-- | libswscale/swscale_internal.h | 2 | ||||
-rw-r--r-- | libswscale/swscale_template.c | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/libswscale/swscale.c b/libswscale/swscale.c index 54924b0eef..a56cdefa3f 100644 --- a/libswscale/swscale.c +++ b/libswscale/swscale.c @@ -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); diff --git a/libswscale/swscale_internal.h b/libswscale/swscale_internal.h index 5b62ea065e..d5b7d6021e 100644 --- a/libswscale/swscale_internal.h +++ b/libswscale/swscale_internal.h @@ -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; diff --git a/libswscale/swscale_template.c b/libswscale/swscale_template.c index ad46be1273..9c1bb5fd4e 100644 --- a/libswscale/swscale_template.c +++ b/libswscale/swscale_template.c @@ -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; |