projects
/
platform
/
upstream
/
libvpx.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c516dd6
)
Make new_qc signed
author
Johann
<johannkoenig@google.com>
Mon, 13 Jun 2016 18:56:42 +0000
(11:56 -0700)
committer
Johann Koenig
<johannkoenig@google.com>
Tue, 14 Jun 2016 22:54:58 +0000
(22:54 +0000)
Mode is signed
Cleans warning in Android build:
comparison of integers of different signs: 'int' and 'unsigned int'
if (ctx->oxcf.Mode != new_qc)
~~~~~~~~~~~~~~ ^ ~~~~~~
Change-Id: I5cf81c40b103e688a31e1339511f5c9eb27edd38
vp8/vp8_cx_iface.c
patch
|
blob
|
history
diff --git
a/vp8/vp8_cx_iface.c
b/vp8/vp8_cx_iface.c
index
257d2a0
..
54d4547
100644
(file)
--- a/
vp8/vp8_cx_iface.c
+++ b/
vp8/vp8_cx_iface.c
@@
-760,7
+760,7
@@
static void pick_quickcompress_mode(vpx_codec_alg_priv_t *ctx,
unsigned long duration,
unsigned long deadline)
{
-
unsigned
int new_qc;
+ int new_qc;
#if !(CONFIG_REALTIME_ONLY)
/* Use best quality mode if no deadline is given. */