Revision 5a901737

View differences:

libswscale/swscale.c
1317 1317
        memcpy(dst, src, srcSliceH * dstStride);
1318 1318
    } else {
1319 1319
        int i;
1320
        const uint8_t *srcPtr = src;
1321
        uint8_t *dstPtr= dst;
1322 1320
        for (i=0; i<srcSliceH; i++) {
1323
            memcpy(dstPtr, srcPtr, width);
1324
            srcPtr += srcStride;
1325
            dstPtr += dstStride;
1321
            memcpy(dst, src, width);
1322
            src += srcStride;
1323
            dst += dstStride;
1326 1324
        }
1327 1325
    }
1328 1326
}

Also available in: Unified diff