aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHarish Mahendrakar <harish.mahendrakar@ittiam.com>2015-12-18 09:58:28 +0530
committergitbuildkicker <android-build@google.com>2017-01-23 11:22:48 -0800
commitf56f664ba4919a1816397e78e7650d224630f279 (patch)
tree5fd85c6c4f0b7d730a195e0bcae2ddd39e668206
parent3e52d799f3d139cc584547ec19527d10017b0ffa (diff)
downloadlibavc-nougat-mr1.4-release.tar.gz
Decoder: Padded gau1_ih264d_top_left_mb_part_indx_mod to avoid an out of bound readandroid-7.1.1_r27nougat-mr1.4-release
Change-Id: Ie8761de856ed8c7d08f3da61631c1bef446448e6 (cherry picked from commit b88f59d8353d65a75a3d250992f6b7fee1a61757)
-rw-r--r--decoder/ih264d_tables.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/decoder/ih264d_tables.c b/decoder/ih264d_tables.c
index d49de14..c45525a 100644
--- a/decoder/ih264d_tables.c
+++ b/decoder/ih264d_tables.c
@@ -855,7 +855,8 @@ const UWORD8 gau1_ih264d_top_left_mb_part_indx_mod[] =
{ 0, 0 /* Junk */, /* 16x16 */
0, 8, /* 16x8 */
0, 2, /* 8x16 */
- 0, 2, 8, 10 /* 8x8 */
+ 0, 2, 8, 10 /* 8x8 */,
+ 0 /* One extra entry is read at the end of loop, but not used */
};
/*!