[FFmpeg-cvslog] r29582 - trunk/libswscale/swscale.c
ramiro
subversion
Sat Aug 29 04:44:03 CEST 2009
Author: ramiro
Date: Sat Aug 29 04:44:03 2009
New Revision: 29582
Log:
Restore comment that was partially removed.
Modified:
trunk/libswscale/swscale.c
Modified: trunk/libswscale/swscale.c
==============================================================================
--- trunk/libswscale/swscale.c Sat Aug 29 02:25:14 2009 (r29581)
+++ trunk/libswscale/swscale.c Sat Aug 29 04:44:03 2009 (r29582)
@@ -2908,6 +2908,7 @@ SwsContext *sws_getContext(int srcW, int
}
// allocate pixbufs (we use dynamic allocation because otherwise we would need to
+ // allocate several megabytes to handle all possible cases)
c->lumPixBuf= av_malloc(c->vLumBufSize*2*sizeof(int16_t*));
c->chrPixBuf= av_malloc(c->vChrBufSize*2*sizeof(int16_t*));
if (CONFIG_SWSCALE_ALPHA && isALPHA(c->srcFormat) && isALPHA(c->dstFormat))
More information about the ffmpeg-cvslog
mailing list