[FFmpeg-cvslog] r29977 - trunk/libswscale/swscale_template.c
ramiro
subversion
Sun Dec 6 23:01:25 CET 2009
Author: ramiro
Date: Sun Dec 6 23:01:25 2009
New Revision: 29977
Log:
Start using intermediate buffers at index 0.
These index variables are incremented before each use, so they should be
initialized to -1.
Modified:
trunk/libswscale/swscale_template.c
Modified: trunk/libswscale/swscale_template.c
==============================================================================
--- trunk/libswscale/swscale_template.c Sat Dec 5 10:44:19 2009 (r29976)
+++ trunk/libswscale/swscale_template.c Sun Dec 6 23:01:25 2009 (r29977)
@@ -2661,8 +2661,8 @@ static int RENAME(swScale)(SwsContext *c
will not get executed. This is not really intended but works
currently, so people might do it. */
if (srcSliceY ==0) {
- lumBufIndex=0;
- chrBufIndex=0;
+ lumBufIndex=-1;
+ chrBufIndex=-1;
dstY=0;
lastInLumBuf= -1;
lastInChrBuf= -1;
More information about the ffmpeg-cvslog
mailing list