vp8 onyx_if: assert divide by zero
authorJohann <johannkoenig@google.com>
Tue, 31 Jan 2017 23:51:15 +0000 (15:51 -0800)
committerJohann Koenig <johannkoenig@google.com>
Tue, 14 Feb 2017 04:27:31 +0000 (04:27 +0000)
commit25301a84a8fe65f57cfe7d67001912b44f5085c8
tree7dfa7f5269b9f21eed757d4b510c1f1f62489d8c
parenteeb288d568fde3512e4362d73e4d684af3bcf87c
vp8 onyx_if: assert divide by zero

Clears up static clang analysis warning regarding divide by zero.

Trying to explain to the compiler how it's impossible to avoid
incrementing num_blocks at least once is difficult.

Change-Id: Ibaae43be572e5cd7a689b440dcd341c17d33443b
vp8/encoder/onyx_if.c