ref: 4c6819d0fcb24caa064af47a939b4a9f9c17225b
parent: 75fe2d4409103ddf3fa496d7b9bdd28458dd128e
author: Johann <johannkoenig@google.com>
date: Tue Sep 13 10:20:19 EDT 2016
vp8 decoder: cast decoding_thread_count to int For some reason allocated_decoding_thread_count is signed, but decoding_thread_count is not. Cleans -Wextra/-Wsign-compare: comparison between signed and unsigned integer expressions Change-Id: Id0ada78100acff27c1c4ed7493c563d13c55cdcd
--- a/vp8/decoder/threading.c
+++ b/vp8/decoder/threading.c
@@ -631,7 +631,8 @@
}
pbi->allocated_decoding_thread_count = ithread;
- if (pbi->allocated_decoding_thread_count != pbi->decoding_thread_count) {
+ if (pbi->allocated_decoding_thread_count !=
+ (int)pbi->decoding_thread_count) {
/* the remainder of cleanup cases will be handled in
* vp8_decoder_remove_threads(). */
if (pbi->allocated_decoding_thread_count == 0) {