From dd27307cac5ac7f346888d219877041563eea0a2 Mon Sep 17 00:00:00 2001 From: Yaowu Xu Date: Fri, 6 Feb 2015 16:32:20 -0800 Subject: [PATCH] Prevent VP8 encoding crash This commit changes the value of highbitdepth flag to avoid conflict with vp8 refresh_last_frame flag. Change-Id: Idcff2cf44f0a200bd935b326f785c0cf32d7228a --- vpx_scale/yv12config.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vpx_scale/yv12config.h b/vpx_scale/yv12config.h index 6cdc235fe..76cf771c7 100644 --- a/vpx_scale/yv12config.h +++ b/vpx_scale/yv12config.h @@ -61,7 +61,7 @@ typedef struct yv12_buffer_config { int flags; } YV12_BUFFER_CONFIG; -#define YV12_FLAG_HIGHBITDEPTH 1 +#define YV12_FLAG_HIGHBITDEPTH 8 int vp8_yv12_alloc_frame_buffer(YV12_BUFFER_CONFIG *ybf, int width, int height, int border);