summaryrefslogtreecommitdiffstats
path: root/libswscale
diff options
context:
space:
mode:
authorramiro <ramiro@b3059339-0415-0410-9bf9-f77b7e298cf2>2009-08-29 02:44:03 +0000
committerramiro <ramiro@b3059339-0415-0410-9bf9-f77b7e298cf2>2009-08-29 02:44:03 +0000
commit52b42d8abccc312292c2103bf29a5fcf29196843 (patch)
tree3cf63829f6e45cf84eab2d56c135481c56ff08fa /libswscale
parent4e7d46109eaf3fad57bc8786bb8c375941401874 (diff)
downloadmpv-52b42d8abccc312292c2103bf29a5fcf29196843.tar.bz2
mpv-52b42d8abccc312292c2103bf29a5fcf29196843.tar.xz
Restore comment that was partially removed.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29582 b3059339-0415-0410-9bf9-f77b7e298cf2
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))