]> granicus.if.org Git - libvpx/commitdiff
Prevent VP8 encoding crash
authorYaowu Xu <yaowu@google.com>
Sat, 7 Feb 2015 00:32:20 +0000 (16:32 -0800)
committerDeb Mukherjee <debargha@google.com>
Fri, 6 Mar 2015 17:47:56 +0000 (09:47 -0800)
This commit changes the value of highbitdepth flag to avoid conflict
with vp8 refresh_last_frame flag.

Change-Id: Idcff2cf44f0a200bd935b326f785c0cf32d7228a
(cherry picked from commit dd27307cac5ac7f346888d219877041563eea0a2)

vpx_scale/yv12config.h

index b9f13fd89188f8229b7c009412a9586a34bb9242..25c8dc4adec4e6d0777b6cc738b4ecf0b7359c18 100644 (file)
@@ -60,7 +60,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);