--- huffyuv.c;2 Tue Oct 7 18:37:45 2003 +++ huffyuv.c;1 Sun Oct 5 09:12:00 2003 @@ -1052,13 +1052,13 @@ vdst= p->data[2] + p->linesize[2]*cy; if(s->predictor == PLANE && s->interlaced < cy){ - s->dsp.diff_bytes(s->temp[0], ydst, ydst - fake_ystride, width); - s->dsp.diff_bytes(s->temp[1], udst, udst - fake_ustride, width2); - s->dsp.diff_bytes(s->temp[2], vdst, vdst - fake_vstride, width2); + s->dsp.diff_bytes(s->temp[1], ydst, ydst - fake_ystride, width); + s->dsp.diff_bytes(s->temp[2], udst, udst - fake_ustride, width2); + s->dsp.diff_bytes(s->temp[3], vdst, vdst - fake_vstride, width2); - lefty= sub_left_prediction(s, s->temp[0], s->temp[0], width , lefty); - leftu= sub_left_prediction(s, s->temp[1], s->temp[1], width2, leftu); - leftv= sub_left_prediction(s, s->temp[2], s->temp[2], width2, leftv); + lefty= sub_left_prediction(s, s->temp[0], s->temp[1], width , lefty); + leftu= sub_left_prediction(s, s->temp[1], s->temp[2], width2, leftu); + leftv= sub_left_prediction(s, s->temp[2], s->temp[3], width2, leftv); }else{ lefty= sub_left_prediction(s, s->temp[0], ydst, width , lefty); leftu= sub_left_prediction(s, s->temp[1], udst, width2, leftu);