commit | 4adb9f492336cd3f6204201eac52b29166179cb4 | [log] [tgz] |
---|---|---|
author | Martin Storsjo <martin@martin.st> | Mon Jun 08 15:07:59 2015 +0300 |
committer | Marco Nelissen <marcone@google.com> | Thu Jun 25 08:25:57 2015 -0700 |
tree | 796e93751c623f31f9fd5dedce535dfe9c85f5e3 | |
parent | 5ae9fc7e9dbabb80274df8928dd98060c2400066 [diff] |
Reorder code to avoid reading uninitialized data If the current slice isn't BSLICE, u1_weighted_bipred_idc is uninitialized, which valgrind can complain about (mostly in uninitialized builds). By reordering the conditions, we avoid doing conditional jumps based on uninitialized data. Change-Id: I4d601fd1a4e34d85fe5992ecb934ac3747953960