Revision 0607b090

View differences:

libswscale/swscale.c
2908 2908
    }
2909 2909

  
2910 2910
    // allocate pixbufs (we use dynamic allocation because otherwise we would need to
2911
    // allocate several megabytes to handle all possible cases)
2911 2912
    c->lumPixBuf= av_malloc(c->vLumBufSize*2*sizeof(int16_t*));
2912 2913
    c->chrPixBuf= av_malloc(c->vChrBufSize*2*sizeof(int16_t*));
2913 2914
    if (CONFIG_SWSCALE_ALPHA && isALPHA(c->srcFormat) && isALPHA(c->dstFormat))

Also available in: Unified diff