| Index: source/libvpx/vp9/encoder/vp9_temporal_filter.c | 
| diff --git a/source/libvpx/vp9/encoder/vp9_temporal_filter.c b/source/libvpx/vp9/encoder/vp9_temporal_filter.c | 
| index 3475d58da6874dd47bdd027d6c937b9833c793d9..9c1629edebba844266887959b1618efc76226312 100644 | 
| --- a/source/libvpx/vp9/encoder/vp9_temporal_filter.c | 
| +++ b/source/libvpx/vp9/encoder/vp9_temporal_filter.c | 
| @@ -15,7 +15,6 @@ | 
| #include "vp9/common/vp9_onyxc_int.h" | 
| #include "vp9/common/vp9_quant_common.h" | 
| #include "vp9/common/vp9_reconinter.h" | 
| -#include "vp9/common/vp9_systemdependent.h" | 
| #include "vp9/encoder/vp9_extend.h" | 
| #include "vp9/encoder/vp9_firstpass.h" | 
| #include "vp9/encoder/vp9_mcomp.h" | 
| @@ -243,7 +242,7 @@ static int temporal_filter_find_matching_mb_c(VP9_COMP *cpi, | 
| xd->plane[0].pre[0].stride = stride; | 
|  | 
| step_param = mv_sf->reduce_first_step_size; | 
| -  step_param = MIN(step_param, MAX_MVSEARCH_STEPS - 2); | 
| +  step_param = VPXMIN(step_param, MAX_MVSEARCH_STEPS - 2); | 
|  | 
| // Ignore mv costing by sending NULL pointer instead of cost arrays | 
| vp9_hex_search(x, &best_ref_mv1_full, step_param, sadpb, 1, | 
| @@ -706,7 +705,7 @@ void vp9_temporal_filter(VP9_COMP *cpi, int distance) { | 
| for (frame = 0; frame < frames_to_blur; ++frame) { | 
| if (cm->mi_cols * MI_SIZE != frames[frame]->y_width || | 
| cm->mi_rows * MI_SIZE != frames[frame]->y_height) { | 
| -          if (vp9_realloc_frame_buffer(&cpi->svc.scaled_frames[frame_used], | 
| +          if (vpx_realloc_frame_buffer(&cpi->svc.scaled_frames[frame_used], | 
| cm->width, cm->height, | 
| cm->subsampling_x, cm->subsampling_y, | 
| #if CONFIG_VP9_HIGHBITDEPTH | 
|  |