diff options
author | Raphael Isemann <teemperor@gmail.com> | 2022-06-21 16:01:38 +0200 |
---|---|---|
committer | Raphael Isemann <teemperor@gmail.com> | 2022-07-27 15:02:12 +0000 |
commit | 7a56a9f0d1f9fec7e26599585786cb6412632ec6 (patch) | |
tree | 41636bc27506fa8e7ff1efbda9f94876471b8d3e | |
parent | 795d9f12e64301a1e6f00343e5b3b2f105384947 (diff) | |
download | libmpeg2-7a56a9f0d1f9fec7e26599585786cb6412632ec6.tar.gz |
Fix overlapping memcpy areas in impeg2_mc_fullx_fully_8x8
Bug: 231026247
Change-Id: Ic6a6b58085816a38c4800ccfe2de82435a4e7373
-rw-r--r-- | common/impeg2_inter_pred.c | 2 |
1 files changed, 1 insertions, 1 deletions
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 @@ void impeg2_mc_fullx_fully_8x8(UWORD8 *pu1_out, 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; } |