[SCM] libav/experimental: Restore comment that was partially removed.

siretart at users.alioth.debian.org siretart at users.alioth.debian.org
Sun Jun 30 16:50:34 UTC 2013


The following commit has been merged in the experimental branch:
commit 0607b09069896fb1905e5bdb8ddc040bb9b6e587
Author: Ramiro Polla <ramiro.polla at gmail.com>
Date:   Sat Aug 29 02:44:03 2009 +0000

    Restore comment that was partially removed.
    
    Originally committed as revision 29582 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale

diff --git a/libswscale/swscale.c b/libswscale/swscale.c
index 2f5d5f1..9266eff 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))

-- 
Libav/FFmpeg packaging



More information about the pkg-multimedia-commits mailing list