shithub: libvpx

Download patch

ref: 4d2cfeab361e013d225b7c6ab30d0420b2652e28
parent: 6786280807a6e7711f3e47f9d0588f1ddd4d6f6c
author: Yaowu Xu <[email protected]>
date: Thu Dec 10 11:29:01 EST 2015

Proper fix of a msvc complier warning

Change-Id: I701ab4993be7cfb15b61a1adbbaf5565bd14ae27

--- a/vp10/encoder/bitstream.c
+++ b/vp10/encoder/bitstream.c
@@ -1473,7 +1473,7 @@
     assert(n_log2_tiles > 0);
     vpx_wb_write_literal(&saved_wb, mag, 2);
     if (mag < 3)
-      data_sz = (int)remux_tiles(data, data_sz, 1 << n_log2_tiles, mag);
+      data_sz = remux_tiles(data, (int)data_sz, 1 << n_log2_tiles, mag);
   } else {
     assert(n_log2_tiles == 0);
   }