Revision 31304587

View differences:

libavcodec/dsputil.c
3304 3304
    long i;
3305 3305
#ifndef HAVE_FAST_UNALIGNED
3306 3306
    if((long)src2 & (sizeof(long)-1)){
3307
    for(i=0; i+7<w; i+=8){
3308
        dst[i+0] = src1[i+0]-src2[i+0];
3309
        dst[i+1] = src1[i+1]-src2[i+1];
3310
        dst[i+2] = src1[i+2]-src2[i+2];
3311
        dst[i+3] = src1[i+3]-src2[i+3];
3312
        dst[i+4] = src1[i+4]-src2[i+4];
3313
        dst[i+5] = src1[i+5]-src2[i+5];
3314
        dst[i+6] = src1[i+6]-src2[i+6];
3315
        dst[i+7] = src1[i+7]-src2[i+7];
3316
    }
3307
        for(i=0; i+7<w; i+=8){
3308
            dst[i+0] = src1[i+0]-src2[i+0];
3309
            dst[i+1] = src1[i+1]-src2[i+1];
3310
            dst[i+2] = src1[i+2]-src2[i+2];
3311
            dst[i+3] = src1[i+3]-src2[i+3];
3312
            dst[i+4] = src1[i+4]-src2[i+4];
3313
            dst[i+5] = src1[i+5]-src2[i+5];
3314
            dst[i+6] = src1[i+6]-src2[i+6];
3315
            dst[i+7] = src1[i+7]-src2[i+7];
3316
        }
3317 3317
    }else
3318 3318
#endif
3319 3319
    for(i=0; i<=w-sizeof(long); i+=sizeof(long)){

Also available in: Unified diff