changeset 29540:0f86c85da42a

Restore comment that was partially removed.
author ramiro
date Sat, 29 Aug 2009 02:44:03 +0000
parents bdeb4c732bc7
children b5a8ade9175b
files libswscale/swscale.c
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/libswscale/swscale.c	Sat Aug 29 00:25:14 2009 +0000
+++ b/libswscale/swscale.c	Sat Aug 29 02:44:03 2009 +0000
@@ -2908,6 +2908,7 @@
     }
 
     // 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))