Revision 8448946e libavcodec/roqvideo.c

View differences:

libavcodec/roqvideo.c
118 118
    for(cp = 0; cp < 3; cp++) {
119 119
        int outstride = ri->current_frame->linesize[cp];
120 120
        int instride  = ri->last_frame   ->linesize[cp];
121
        block_copy(ri->current_frame->data[cp] + (y*outstride) + x,
122
                   ri->last_frame->data[cp] + (my*instride) + mx,
121
        block_copy(ri->current_frame->data[cp] + y*outstride + x,
122
                   ri->last_frame->data[cp] + my*instride + mx,
123 123
                   outstride, instride, sz);
124 124
    }
125 125
}

Also available in: Unified diff