summaryrefslogtreecommitdiff
path: root/vpx_scale/generic
diff options
context:
space:
mode:
authorAlex Converse <aconverse@google.com>2014-10-01 11:23:57 -0700
committerDeb Mukherjee <debargha@google.com>2014-10-02 11:02:57 -0700
commita0befb93e7150f72afe57aa5b7f7df3308690cef (patch)
tree41f8456dbad1198e5f777625e7063a7d5418c424 /vpx_scale/generic
parent6a0976dc3cdef7886bcd7523a8b7262bf07c4577 (diff)
downloadlibvpx-a0befb93e7150f72afe57aa5b7f7df3308690cef.tar
libvpx-a0befb93e7150f72afe57aa5b7f7df3308690cef.tar.gz
libvpx-a0befb93e7150f72afe57aa5b7f7df3308690cef.tar.bz2
libvpx-a0befb93e7150f72afe57aa5b7f7df3308690cef.zip
Fix subsampling check for images 1 pixel wide/tall
Change-Id: I0e262ede7eb4a4ae0c86181922d744e542e93350
Diffstat (limited to 'vpx_scale/generic')
-rw-r--r--vpx_scale/generic/yv12config.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/vpx_scale/generic/yv12config.c b/vpx_scale/generic/yv12config.c
index 475d231e1..fde5044a2 100644
--- a/vpx_scale/generic/yv12config.c
+++ b/vpx_scale/generic/yv12config.c
@@ -242,6 +242,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) {