shithub: libvpx

Download patch

ref: ab35f9817ea27e84ca63e4a62eb6ceb2f27b22b2
parent: 25b4a694432da3c471eae5a97484729148469a6c
author: Deb Mukherjee <[email protected]>
date: Wed Oct 8 08:46:37 EDT 2014

Fixes naming bug from previous highbitdepth patch

Change-Id: Ife939930309ceea730dd5df594b8f36e6644bf36

--- a/vpxenc.c
+++ b/vpxenc.c
@@ -1760,7 +1760,7 @@
       if (dec_img.fmt & VPX_IMG_FMT_HIGHBITDEPTH) {
         vpx_img_alloc(&dec_img, dec_img.fmt - VPX_IMG_FMT_HIGHBITDEPTH,
                       dec_img.d_w, dec_img.d_h, 16);
-        vpx_img_cast_16_to_8(&dec_img, &ref_dec.img);
+        vpx_img_truncate_16_to_8(&dec_img, &ref_dec.img);
       }
     }
 #endif