]> granicus.if.org Git - libvpx/commitdiff
Fix compiler warnings in yv12extend.c
authorSarah Parker <sarahparker@google.com>
Wed, 29 Jun 2016 00:23:16 +0000 (17:23 -0700)
committerSarah Parker <sarahparker@google.com>
Wed, 29 Jun 2016 00:42:44 +0000 (17:42 -0700)
Change-Id: I1f6f5b8861c4081b1f4b85c531c5d7ef0cb67bab

vpx_scale/generic/yv12extend.c

index d6a88b83d46c7d70ab98549cfad1313de56475f2..9dd508d8e392fca8266717397ffb252bde5a7291 100644 (file)
@@ -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.