[MPlayer-cvslog] r22932 - in trunk/libswscale: swscale.c swscale_internal.h swscale_template.c

diego subversion at mplayerhq.hu
Sat Apr 7 16:07:52 CEST 2007


Author: diego
Date: Sat Apr  7 16:07:51 2007
New Revision: 22932

Modified:
   trunk/libswscale/swscale.c
   trunk/libswscale/swscale_internal.h
   trunk/libswscale/swscale_template.c

Log:
typo


Modified: trunk/libswscale/swscale.c
==============================================================================
--- trunk/libswscale/swscale.c	(original)
+++ trunk/libswscale/swscale.c	Sat Apr  7 16:07:51 2007
@@ -2050,7 +2050,7 @@ SwsContext *sws_getContext(int srcW, int
 	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);

Modified: trunk/libswscale/swscale_internal.h
==============================================================================
--- trunk/libswscale/swscale_internal.h	(original)
+++ trunk/libswscale/swscale_internal.h	Sat Apr  7 16:07:51 2007
@@ -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;

Modified: trunk/libswscale/swscale_template.c
==============================================================================
--- trunk/libswscale/swscale_template.c	(original)
+++ trunk/libswscale/swscale_template.c	Sat Apr  7 16:07:51 2007
@@ -2317,7 +2317,7 @@ static inline void RENAME(hScale)(int16_
 {
 #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;



More information about the MPlayer-cvslog mailing list