| Index: source/libvpx/vp9/encoder/vp9_resize.c
|
| diff --git a/source/libvpx/vp9/encoder/vp9_resize.c b/source/libvpx/vp9/encoder/vp9_resize.c
|
| index e5ae9594cf46c53905d134c4b29032ffeee25db7..59c74785200b04cebf5778f5c6adb167f6a273b7 100644
|
| --- a/source/libvpx/vp9/encoder/vp9_resize.c
|
| +++ b/source/libvpx/vp9/encoder/vp9_resize.c
|
| @@ -448,7 +448,7 @@ static void resize_multistep(const uint8_t *const input,
|
| uint8_t *buf) {
|
| int steps;
|
| if (length == olength) {
|
| - memcpy(output, input, sizeof(uint8_t) * length);
|
| + memcpy(output, input, sizeof(output[0]) * length);
|
| return;
|
| }
|
| steps = get_down2_steps(length, olength);
|
| @@ -741,7 +741,7 @@ static void highbd_resize_multistep(const uint16_t *const input,
|
| int bd) {
|
| int steps;
|
| if (length == olength) {
|
| - memcpy(output, input, sizeof(uint16_t) * length);
|
| + memcpy(output, input, sizeof(output[0]) * length);
|
| return;
|
| }
|
| steps = get_down2_steps(length, olength);
|
|
|