Update To 11.40.268.0
[platform/framework/web/crosswalk.git] / src / third_party / libvpx / source / libvpx / vpx_scale / generic / yv12config.c
index 475d231..00a8c16 100644 (file)
@@ -10,7 +10,6 @@
 
 #include <assert.h>
 
-#include "./vpx_config.h"
 #include "vpx_scale/yv12config.h"
 #include "vpx_mem/vpx_mem.h"
 #if CONFIG_VP9 && CONFIG_VP9_HIGHBITDEPTH
@@ -242,6 +241,8 @@ int vp9_realloc_frame_buffer(YV12_BUFFER_CONFIG *ybf,
 
     ybf->border = border;
     ybf->frame_size = (int)frame_size;
+    ybf->subsampling_x = ss_x;
+    ybf->subsampling_y = ss_y;
 
 #if CONFIG_VP9_HIGHBITDEPTH
     if (use_highbitdepth) {