[FFmpeg-cvslog] r29685 - trunk/libswscale/swscale_template.c
ramiro
subversion
Thu Sep 17 00:31:44 CEST 2009
Author: ramiro
Date: Thu Sep 17 00:31:43 2009
New Revision: 29685
Log:
Use correct buffers in vertical scaler in unscaled YV12 case.
Modified:
trunk/libswscale/swscale_template.c
Modified: trunk/libswscale/swscale_template.c
==============================================================================
--- trunk/libswscale/swscale_template.c Wed Sep 16 20:09:48 2009 (r29684)
+++ trunk/libswscale/swscale_template.c Thu Sep 17 00:31:43 2009 (r29685)
@@ -2770,9 +2770,9 @@ static int RENAME(swScale)(SwsContext *c
alpSrcPtr, (uint16_t *) dest, (uint16_t *) uDest, (uint16_t *) vDest, (uint16_t *) aDest, dstW, chrDstW,
dstFormat);
} else if (vLumFilterSize == 1 && vChrFilterSize == 1) { // unscaled YV12
- int16_t *lumBuf = lumPixBuf[0];
- int16_t *chrBuf= chrPixBuf[0];
- int16_t *alpBuf= (CONFIG_SWSCALE_ALPHA && alpPixBuf) ? alpPixBuf[0] : NULL;
+ int16_t *lumBuf = lumSrcPtr[0];
+ int16_t *chrBuf= chrSrcPtr[0];
+ int16_t *alpBuf= (CONFIG_SWSCALE_ALPHA && alpPixBuf) ? alpSrcPtr[0] : NULL;
c->yuv2yuv1(c, lumBuf, chrBuf, alpBuf, dest, uDest, vDest, aDest, dstW, chrDstW);
} else { //General YV12
c->yuv2yuvX(c,
More information about the ffmpeg-cvslog
mailing list