commit | ab35f9817ea27e84ca63e4a62eb6ceb2f27b22b2 | [log] [tgz] |
---|---|---|
author | Deb Mukherjee <debargha@google.com> | Wed Oct 08 12:46:37 2014 -0700 |
committer | Deb Mukherjee <debargha@google.com> | Wed Oct 08 12:46:37 2014 -0700 |
tree | 353e847f6671bbc03d31b3814aaf0683803b4512 | |
parent | 25b4a694432da3c471eae5a97484729148469a6c [diff] |
Fixes naming bug from previous highbitdepth patch Change-Id: Ife939930309ceea730dd5df594b8f36e6644bf36
diff --git a/vpxenc.c b/vpxenc.c index e40f224..cc81f4a 100644 --- 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