X-Git-Url: http://git.ffmpeg.org/gitweb/ffmpeg.git/blobdiff_plain/ce7f1c76bd8fc3b4b2dc013ea7e635ed26a8c9fd..1a6948fa708d7f0a950f9caa0256e2d73740e924:/libavcodec/hevcpred_template.c diff --git a/libavcodec/hevcpred_template.c b/libavcodec/hevcpred_template.c index 2276023..07bc1ea 100644 --- a/libavcodec/hevcpred_template.c +++ b/libavcodec/hevcpred_template.c @@ -491,9 +491,8 @@ static av_always_inline void FUNC(pred_angular)(uint8_t *_src, fact * ref[x + idx + 2] + 16) >> 5; } } else { - for (x = 0; x < size; x++) { + for (x = 0; x < size; x++) POS(x, y) = ref[x + idx + 1]; - } } } if (mode == 26 && c_idx == 0 && size < 32) { @@ -519,9 +518,8 @@ static av_always_inline void FUNC(pred_angular)(uint8_t *_src, fact * ref[y + idx + 2] + 16) >> 5; } } else { - for (y = 0; y < size; y++) { + for (y = 0; y < size; y++) POS(x, y) = ref[y + idx + 1]; - } } } if (mode == 10 && c_idx == 0 && size < 32) {