shithub: libvpx

Download patch

ref: 270a05a3152b609e60ca8a70798cce5824b02475
parent: 95ac8fa74edfaeb74ba400c3a4044c834fd48535
parent: e9f85d3ff16af3b2fa8057278328c6c63182933a
author: Deb Mukherjee <debargha@google.com>
date: Tue Aug 26 06:36:47 EDT 2014

Merge "Set scaled img format correctly in vpxdec"

--- a/vpxdec.c
+++ b/vpxdec.c
@@ -887,7 +887,7 @@
               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;
         }