commit | 0a69e08c392b8373067e7b241a491d6798d82ad5 | [log] [tgz] |
---|---|---|
author | Harish Mahendrakar <harish.mahendrakar@ittiam.com> | Wed Nov 23 13:15:19 2016 +0530 |
committer | Harish Mahendrakar <harish.mahendrakar@ittiam.com> | Thu Nov 24 12:22:25 2016 +0530 |
tree | 30427e377f61770694e214db864bc6167a784489 | |
parent | 4b6344b28159ddec7e9eb3de074d5e3affff178a [diff] |
Encoder: Fixed unaligned access of i1_ref_idx and u1_mv in cabac context i1_ref_idx and u1_mv in cabac context are defined as char, but were typecasted to int and were accessed, and were not aligned to 4 byte boundary. This results in an undefined behaviour Bug: 33073518 Test: Tested with -fsanitize=alignment enabled on avcenc Change-Id: Ie4a73de076a9239f2d8707af68b7d2cd796aa803