Restore comment that was partially removed.
authorRamiro Polla <ramiro.polla@gmail.com>
Sat, 29 Aug 2009 02:44:03 +0000 (02:44 +0000)
committerRamiro Polla <ramiro.polla@gmail.com>
Sat, 29 Aug 2009 02:44:03 +0000 (02:44 +0000)
Originally committed as revision 29582 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale

libswscale/swscale.c

index 2f5d5f1..9266eff 100644 (file)
@@ -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))