diff options
author | Frank Barchard <fbarchard@google.com> | 2017-03-03 11:31:40 -0800 |
---|---|---|
committer | Frank Barchard <fbarchard@google.com> | 2017-03-03 19:57:35 +0000 |
commit | 136aa9d37c35147f28f174b02755678c87be0b74 (patch) | |
tree | 2db0e4a8429084da7e923366d626599e3ddb2f6d /source/scale_common.cc | |
parent | 3e62cfe68c462b565262bc0d9e5d2d9a08ffce0f (diff) | |
download | libyuv-136aa9d37c35147f28f174b02755678c87be0b74.tar.gz |
any11p fix for buffer overrun
BUG=libyuv:686
TESTED=untested
Change-Id: Idfae93349dd78b1b633a596631e5397e11b77d0b
Reviewed-on: https://chromium-review.googlesource.com/448320
Reviewed-by: Frank Barchard <fbarchard@google.com>
Reviewed-by: Henrik Kjellander <kjellander@chromium.org>
Commit-Queue: Frank Barchard <fbarchard@google.com>
Diffstat (limited to 'source/scale_common.cc')
-rw-r--r-- | source/scale_common.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/scale_common.cc b/source/scale_common.cc index 1bef39df..a39ee05a 100644 --- a/source/scale_common.cc +++ b/source/scale_common.cc @@ -1029,7 +1029,7 @@ void ScalePlaneVertical(int src_height, enum FilterMode filtering) { // TODO(fbarchard): Allow higher bpp. int dst_width_bytes = dst_width * bpp; - void (*InterpolateRow)(uint8 * dst_argb, const uint8* src_argb, + void (*InterpolateRow)(uint8* dst_argb, const uint8* src_argb, ptrdiff_t src_stride, int dst_width, int source_y_fraction) = InterpolateRow_C; const int max_y = (src_height > 1) ? ((src_height - 1) << 16) - 1 : 0; @@ -1109,7 +1109,7 @@ void ScalePlaneVertical_16(int src_height, enum FilterMode filtering) { // TODO(fbarchard): Allow higher wpp. int dst_width_words = dst_width * wpp; - void (*InterpolateRow)(uint16 * dst_argb, const uint16* src_argb, + void (*InterpolateRow)(uint16* dst_argb, const uint16* src_argb, ptrdiff_t src_stride, int dst_width, int source_y_fraction) = InterpolateRow_16_C; const int max_y = (src_height > 1) ? ((src_height - 1) << 16) - 1 : 0; |