Fixes naming bug from previous highbitdepth patch
authorDeb Mukherjee <debargha@google.com>
Wed, 8 Oct 2014 19:46:37 +0000 (12:46 -0700)
committerDeb Mukherjee <debargha@google.com>
Wed, 8 Oct 2014 19:46:37 +0000 (12:46 -0700)
Change-Id: Ife939930309ceea730dd5df594b8f36e6644bf36

vpxenc.c

index e40f224..cc81f4a 100644 (file)
--- a/vpxenc.c
+++ b/vpxenc.c
@@ -1760,7 +1760,7 @@ static void test_decode(struct stream_state  *stream,
       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