Skip to content
Snippets Groups Projects
Commit 29f36f7e authored by Sarah Parker's avatar Sarah Parker
Browse files

Fix compiler warnings in yv12extend.c

Change-Id: I1f6f5b8861c4081b1f4b85c531c5d7ef0cb67bab
parent 7458f117
No related branches found
No related tags found
2 merge requests!6Rav1e 11 yushin 1,!3Rav1e 10 yushin
...@@ -233,6 +233,7 @@ void vpx_extend_frame_borders_y_c(YV12_BUFFER_CONFIG *ybf) { ...@@ -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_height - ybf->y_crop_height,
ext_size + ybf->y_width - ybf->y_crop_width); ext_size + ybf->y_width - ybf->y_crop_width);
} }
#endif // CONFIG_VP9 || CONFIG_VP10
#if CONFIG_VP9_HIGHBITDEPTH #if CONFIG_VP9_HIGHBITDEPTH
static void memcpy_short_addr(uint8_t *dst8, const uint8_t *src8, int num) { 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) { ...@@ -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)); memcpy(dst, src, num * sizeof(uint16_t));
} }
#endif // CONFIG_VP9_HIGHBITDEPTH #endif // CONFIG_VP9_HIGHBITDEPTH
#endif // CONFIG_VP9 || CONFIG_VP10
// Copies the source image into the destination image and updates the // Copies the source image into the destination image and updates the
// destination's UMV borders. // destination's UMV borders.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment