From: Sarah Parker Date: Wed, 29 Jun 2016 00:23:16 +0000 (-0700) Subject: Fix compiler warnings in yv12extend.c X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=29f36f7e3734d83393be7865d8ec9104f06abe92;p=libvpx Fix compiler warnings in yv12extend.c Change-Id: I1f6f5b8861c4081b1f4b85c531c5d7ef0cb67bab --- 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.