From 0607b09069896fb1905e5bdb8ddc040bb9b6e587 Mon Sep 17 00:00:00 2001 From: Ramiro Polla Date: Sat, 29 Aug 2009 02:44:03 +0000 Subject: [PATCH] Restore comment that was partially removed. Originally committed as revision 29582 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale --- libswscale/swscale.c | 1 + 1 file changed, 1 insertion(+) diff --git a/libswscale/swscale.c b/libswscale/swscale.c index 2f5d5f1e5..9266effc1 100644 --- a/libswscale/swscale.c +++ b/libswscale/swscale.c @@ -2908,6 +2908,7 @@ SwsContext *sws_getContext(int srcW, int srcH, enum PixelFormat srcFormat, int d } // 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)) -- 2.11.0