commit | 7a56a9f0d1f9fec7e26599585786cb6412632ec6 | [log] [tgz] |
---|---|---|
author | Raphael Isemann <teemperor@gmail.com> | Tue Jun 21 16:01:38 2022 +0200 |
committer | Raphael Isemann <teemperor@gmail.com> | Wed Jul 27 15:02:12 2022 +0000 |
tree | 41636bc27506fa8e7ff1efbda9f94876471b8d3e | |
parent | 795d9f12e64301a1e6f00343e5b3b2f105384947 [diff] |
Fix overlapping memcpy areas in impeg2_mc_fullx_fully_8x8 Bug: 231026247 Change-Id: Ic6a6b58085816a38c4800ccfe2de82435a4e7373
diff --git a/common/impeg2_inter_pred.c b/common/impeg2_inter_pred.c index 019fa5c..7315664 100644 --- a/common/impeg2_inter_pred.c +++ b/common/impeg2_inter_pred.c
@@ -459,7 +459,7 @@ for(i = 0; i < BLK_SIZE; i++) { - memcpy(pu1_out, pu1_ref, BLK_SIZE); + memmove(pu1_out, pu1_ref, BLK_SIZE); pu1_ref += u4_ref_wid; pu1_out += u4_out_wid; }