shithub: libvpx

Download patch

ref: 82cf10702de9a9142c49150d62134fbc572108f9
parent: eecc750b33521b4b46579751fa6495c18e4ceecd
author: Paul Wilkins <paulwilkins@google.com>
date: Wed May 14 09:50:51 EDT 2014

Silence unused parameter warnings.

The various motion search functions share a
common function prototype. In the case of
vp9_full_range_search() two of the parameters
are not needed.

Change-Id: I0e190af54a3b3f276409f20e8ec55912f9b0b798

--- a/vp9/encoder/vp9_mcomp.c
+++ b/vp9/encoder/vp9_mcomp.c
@@ -886,6 +886,10 @@
   int r, c, i;
   int start_col, end_col, start_row, end_row;
 
+  // The cfg and search_param parameters are not used in this search variant
+  (void)cfg;
+  (void)search_param;
+
   clamp_mv(ref_mv, x->mv_col_min, x->mv_col_max, x->mv_row_min, x->mv_row_max);
   *best_mv = *ref_mv;
   *num00 = 11;