[x265] [PATCH] Ensure that the destination buffer is not overwritten. 64 is added as it is the maximum width supported for luma filter
nabajit at multicorewareinc.com
nabajit at multicorewareinc.com
Thu Oct 31 16:55:48 CET 2013
# HG changeset patch
# User Nabajit Deka
# Date 1383234939 -19800
# Thu Oct 31 21:25:39 2013 +0530
# Node ID 5584339605f0c3d1abb1e8ac3a1998a55a7cbba5
# Parent e11e3328ff72aabab96ee2e6dac802a1284fe2d1
Ensure that the destination buffer is not overwritten. 64 is added as it is the maximum width supported for luma filter.
diff -r e11e3328ff72 -r 5584339605f0 source/test/ipfilterharness.cpp
--- a/source/test/ipfilterharness.cpp Thu Oct 31 21:20:10 2013 +0530
+++ b/source/test/ipfilterharness.cpp Thu Oct 31 21:25:39 2013 +0530
@@ -358,7 +358,7 @@
rand_coeffIdx = rand() % 3; // Random coeffIdex in the filter
rand_srcStride = rand() % 100; // Randomly generated srcStride
- rand_dstStride = rand() % 100; // Randomly generated dstStride
+ rand_dstStride = rand() % 100 + 64; // Randomly generated dstStride
opt(pixel_buff + 3 * rand_srcStride,
rand_srcStride,
More information about the x265-devel
mailing list