]> granicus.if.org Git - libvpx/commit
Fix clang ioc warning due to NULL mi pointer.
authorhkuang <hkuang@google.com>
Fri, 8 May 2015 22:42:50 +0000 (15:42 -0700)
committerhkuang <hkuang@google.com>
Fri, 8 May 2015 22:42:50 +0000 (15:42 -0700)
commitd53fb0fda53cefc994e9077470a633b92604384a
treeb9e75ea392632bcfeeb07749a47418d0ce3d08a3
parentf003f77b8c83656f7f04e60b7d40a2126f1871de
Fix clang ioc warning due to NULL mi pointer.

The warning only happens in VP9 encoder's first pass due to src_mi
is not set up yet. But it will not fail the encoder as left_mi and
above_mi are not used in the first_pass and they will be set up again
in the second pass.

Change-Id: I0713b4660d71e229e196654cb0970ba6b1574f28
vp9/common/vp9_onyxc_int.h