Revision 0cfcbf21

View differences:

libavcodec/vp3.c
1459 1459

  
1460 1460
                        if(src_x<0 || src_y<0 || src_x + 9 >= plane_width || src_y + 9 >= plane_height){
1461 1461
                            uint8_t *temp= s->edge_emu_buffer;
1462
                            if(stride<0) temp -= 9*stride;
1463
                            else temp += 9*stride;
1462
                            if(stride<0) temp -= 8*stride;
1464 1463

  
1465 1464
                            s->dsp.emulated_edge_mc(temp, motion_source, stride, 9, 9, src_x, src_y, plane_width, plane_height);
1466 1465
                            motion_source= temp;

Also available in: Unified diff