diff options
author | Raphael Isemann <teemperor@gmail.com> | 2022-07-27 19:01:39 +0000 |
---|---|---|
committer | Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com> | 2022-07-27 19:01:39 +0000 |
commit | 15a373e26658985770323f9212b2319777f9cbb8 (patch) | |
tree | 41636bc27506fa8e7ff1efbda9f94876471b8d3e | |
parent | d7d3dddb6b786b9d31fabe41c02f1af4fd02f142 (diff) | |
parent | fca68ffb71d69711af6e048ebba39f1c4b4ef929 (diff) | |
download | libmpeg2-15a373e26658985770323f9212b2319777f9cbb8.tar.gz |
Fix overlapping memcpy areas in impeg2_mc_fullx_fully_8x8 am: 7a56a9f0d1 am: 69db39ee2c am: fca68ffb71
Original change: https://android-review.googlesource.com/c/platform/external/libmpeg2/+/2132593
Change-Id: Ief11a0b64b0d316763114fb779277730461e07d8
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
-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; } |