| commit | 4aeabf1b0d28e4986d65a180ca709272ccc69a85 | [log] [tgz] |
|---|---|---|
| author | hui su <huisu@google.com> | Fri Feb 26 13:26:54 2016 -0800 |
| committer | hui su <huisu@google.com> | Fri Feb 26 13:52:49 2016 -0800 |
| tree | 5f60ee98084da6961f8e258f8fca2419af93674b | |
| parent | 3287f5519e1a755738dcc01fabb55233775a198a [diff] [blame] |
Fix compiler warnings Change-Id: Id7240260cec471a3f8d0986b9c8df06efda925f9
diff --git a/vpx_dsp/ssim.c b/vpx_dsp/ssim.c index 48e5884..632e272 100644 --- a/vpx_dsp/ssim.c +++ b/vpx_dsp/ssim.c
@@ -88,6 +88,9 @@ } else if (bd == 12) { c1 = (cc1_12 * count * count) >> 12; c2 = (cc2_12 * count * count) >> 12; + } else { + c1 = c2 = 0; + assert(0); } ssim_n = (2 * sum_s * sum_r + c1) * ((int64_t) 2 * count * sum_sxr -