summaryrefslogtreecommitdiff
path: root/libswscale
diff options
context:
space:
mode:
authorRamiro Polla <ramiro.polla@gmail.com>2009-08-29 02:44:03 +0000
committerRamiro Polla <ramiro.polla@gmail.com>2009-08-29 02:44:03 +0000
commit0607b09069896fb1905e5bdb8ddc040bb9b6e587 (patch)
treeeeff4ff1ee357fba57111bcfcc12c4155b21284d /libswscale
parentc4d6d318cfb9064263dee67ed12a7d386d6c61dd (diff)
downloadffmpeg-0607b09069896fb1905e5bdb8ddc040bb9b6e587.tar.gz
Restore comment that was partially removed.
Originally committed as revision 29582 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
Diffstat (limited to 'libswscale')
-rw-r--r--libswscale/swscale.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/libswscale/swscale.c b/libswscale/swscale.c
index 2f5d5f1e5e..9266effc13 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))