ref: 77a31eb3c51582cae8597d8b3e1f76ed1dfa405b
parent: 7bb35db8725ca7a2358f6786ce12aafb8fbb9a62
author: James Zern <[email protected]>
date: Tue Jul 19 19:02:34 EDT 2016
vp8/bitstream.c: rework #if to avoid dangling else Change-Id: I9178ae75876f3df3fa3271314db39830552b9549
--- a/vp8/encoder/bitstream.c
+++ b/vp8/encoder/bitstream.c
@@ -1421,9 +1421,12 @@
#if CONFIG_MULTITHREAD
if (cpi->b_multi_threaded) {
pack_mb_row_tokens(cpi, &cpi->bc[1]);
- } else
-#endif // CONFIG_MULTITHREAD
+ } else {
vp8_pack_tokens(&cpi->bc[1], cpi->tok, cpi->tok_count);
+ }
+#else
+ vp8_pack_tokens(&cpi->bc[1], cpi->tok, cpi->tok_count);
+#endif // CONFIG_MULTITHREAD
vp8_stop_encode(&cpi->bc[1]);