Revision f66e4f5f libavcodec/vp56.c

View differences:

libavcodec/vp56.c
308 308
    for (i=0; i<12; i++) {
309 309
        v = (yuv[-pix2_inc] + 3*(yuv[0]-yuv[-pix_inc]) - yuv[pix_inc] + 4) >>3;
310 310
        v = s->adjust(v, t);
311
        yuv[-pix_inc] = clip_uint8(yuv[-pix_inc] + v);
312
        yuv[0] = clip_uint8(yuv[0] - v);
311
        yuv[-pix_inc] = av_clip_uint8(yuv[-pix_inc] + v);
312
        yuv[0] = av_clip_uint8(yuv[0] - v);
313 313
        yuv += line_inc;
314 314
    }
315 315
}

Also available in: Unified diff