commit | d78b75702b7404810c7bce65d58b560a3c3b7c86 | [log] [tgz] |
---|---|---|
author | Martin Storsjo <martin@martin.st> | Mon Jun 08 15:07:59 2015 +0300 |
committer | Martin Storsjo <martin@martin.st> | Thu Jun 25 13:29:13 2015 +0300 |
tree | ebd9cfa193b7e1e62fb84e533c69826a939eea0b | |
parent | cd74de4a1b4dbebb9f356fa0b368a821522c4aa8 [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