summaryrefslogtreecommitdiffstats
path: root/common
diff options
context:
space:
mode:
authorMartin Storsjo <martin@martin.st>2015-06-08 15:07:59 +0300
committerMarco Nelissen <marcone@google.com>2015-06-25 08:25:57 -0700
commit4adb9f492336cd3f6204201eac52b29166179cb4 (patch)
tree796e93751c623f31f9fd5dedce535dfe9c85f5e3 /common
parent5ae9fc7e9dbabb80274df8928dd98060c2400066 (diff)
downloadandroid_external_libavc-4adb9f492336cd3f6204201eac52b29166179cb4.tar.gz
android_external_libavc-4adb9f492336cd3f6204201eac52b29166179cb4.tar.bz2
android_external_libavc-4adb9f492336cd3f6204201eac52b29166179cb4.zip
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
Diffstat (limited to 'common')
0 files changed, 0 insertions, 0 deletions