summaryrefslogtreecommitdiff
path: root/vpxdec.c
diff options
context:
space:
mode:
Diffstat (limited to 'vpxdec.c')
-rw-r--r--vpxdec.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/vpxdec.c b/vpxdec.c
index 6c822abe7..fceb0463e 100644
--- a/vpxdec.c
+++ b/vpxdec.c
@@ -889,7 +889,7 @@ int main_loop(int argc, const char **argv_) {
display_height = display_size[1];
}
}
- scaled_img = vpx_img_alloc(NULL, VPX_IMG_FMT_I420, display_width,
+ scaled_img = vpx_img_alloc(NULL, img->fmt, display_width,
display_height, 16);
scaled_img->bit_depth = img->bit_depth;
}