From 29f36f7e3734d83393be7865d8ec9104f06abe92 Mon Sep 17 00:00:00 2001 From: Sarah Parker Date: Tue, 28 Jun 2016 17:23:16 -0700 Subject: [PATCH] Fix compiler warnings in yv12extend.c Change-Id: I1f6f5b8861c4081b1f4b85c531c5d7ef0cb67bab --- vpx_scale/generic/yv12extend.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vpx_scale/generic/yv12extend.c b/vpx_scale/generic/yv12extend.c index d6a88b83d..9dd508d8e 100644 --- a/vpx_scale/generic/yv12extend.c +++ b/vpx_scale/generic/yv12extend.c @@ -233,6 +233,7 @@ void vpx_extend_frame_borders_y_c(YV12_BUFFER_CONFIG *ybf) { ext_size + ybf->y_height - ybf->y_crop_height, ext_size + ybf->y_width - ybf->y_crop_width); } +#endif // CONFIG_VP9 || CONFIG_VP10 #if CONFIG_VP9_HIGHBITDEPTH static void memcpy_short_addr(uint8_t *dst8, const uint8_t *src8, int num) { @@ -241,7 +242,6 @@ static void memcpy_short_addr(uint8_t *dst8, const uint8_t *src8, int num) { memcpy(dst, src, num * sizeof(uint16_t)); } #endif // CONFIG_VP9_HIGHBITDEPTH -#endif // CONFIG_VP9 || CONFIG_VP10 // Copies the source image into the destination image and updates the // destination's UMV borders.