Revision 67c2c5bb libswscale/swscale.c

View differences:

libswscale/swscale.c
2920 2920
        CHECKED_ALLOCZ(c->alpPixBuf, c->vLumBufSize*2*sizeof(int16_t*));
2921 2921
    //Note we need at least one pixel more at the end because of the MMX code (just in case someone wanna replace the 4000/8000)
2922 2922
    /* align at 16 bytes for AltiVec */
2923
    for (i=0; i<c->vLumBufSize; i++)
2924
    {
2923
    for (i=0; i<c->vLumBufSize; i++) {
2925 2924
        CHECKED_ALLOCZ(c->lumPixBuf[i+c->vLumBufSize], VOF+1);
2926 2925
        c->lumPixBuf[i] = c->lumPixBuf[i+c->vLumBufSize];
2927 2926
    }
2928
    for (i=0; i<c->vChrBufSize; i++)
2929
    {
2927
    for (i=0; i<c->vChrBufSize; i++) {
2930 2928
        CHECKED_ALLOC(c->chrPixBuf[i+c->vChrBufSize], (VOF+1)*2);
2931 2929
        c->chrPixBuf[i] = c->chrPixBuf[i+c->vChrBufSize];
2932 2930
    }
2933 2931
    if (CONFIG_SWSCALE_ALPHA && c->alpPixBuf)
2934
        for (i=0; i<c->vLumBufSize; i++)
2935
        {
2932
        for (i=0; i<c->vLumBufSize; i++) {
2936 2933
            CHECKED_ALLOCZ(c->alpPixBuf[i+c->vLumBufSize], VOF+1);
2937 2934
            c->alpPixBuf[i] = c->alpPixBuf[i+c->vLumBufSize];
2938 2935
        }

Also available in: Unified diff