Remove Wextra warnings from vp9_sad.c

As a side-effect, the sad unit tests for VP8 and VP9
had to be separated.

Change-Id: I068cc2391eed51e9b140ea6aba78338c5fec8d71
This commit is contained in:
Deb Mukherjee
2014-05-13 10:11:42 -07:00
parent 8188096640
commit 916550428d
8 changed files with 296 additions and 234 deletions

View File

@@ -2131,8 +2131,7 @@ static void mv_pred(VP9_COMP *cpi, MACROBLOCK *x,
// Find sad for current vector.
this_sad = cpi->fn_ptr[block_size].sdf(src_y_ptr, x->plane[0].src.stride,
ref_y_ptr, ref_y_stride,
0x7fffffff);
ref_y_ptr, ref_y_stride);
// Note if it is the best so far.
if (this_sad < best_sad) {