mirror of https://git.ffmpeg.org/ffmpeg.git
Restore comment that was partially removed.
Originally committed as revision 29582 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
This commit is contained in:
parent
c4d6d318cf
commit
0607b09069
|
@ -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 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->lumPixBuf= av_malloc(c->vLumBufSize*2*sizeof(int16_t*));
|
||||||
c->chrPixBuf= av_malloc(c->vChrBufSize*2*sizeof(int16_t*));
|
c->chrPixBuf= av_malloc(c->vChrBufSize*2*sizeof(int16_t*));
|
||||||
if (CONFIG_SWSCALE_ALPHA && isALPHA(c->srcFormat) && isALPHA(c->dstFormat))
|
if (CONFIG_SWSCALE_ALPHA && isALPHA(c->srcFormat) && isALPHA(c->dstFormat))
|
||||||
|
|
Loading…
Reference in New Issue