shithub: libvpx

Download patch

ref: 4aa76912252d272b8d0bfdc98ced68170c5111a0
parent: 8d799940bc81bd7b6142583923e882daf50708e9
author: James Zern <[email protected]>
date: Thu May 8 16:19:49 EDT 2014

vp9_dx_iface: fix implicit ptrdiff_t -> uint32_t conversion

Change-Id: Ib773aac06b22009408cdd29a73190b276a53fcf6

--- a/vp9/vp9_dx_iface.c
+++ b/vp9/vp9_dx_iface.c
@@ -429,7 +429,8 @@
     }
   } else {
     while (data_start < data_end) {
-      res = decode_one_iter(ctx, &data_start, data_end, data_end - data_start,
+      res = decode_one_iter(ctx, &data_start, data_end,
+                            (uint32_t)(data_end - data_start),
                             user_priv, deadline);
       if (res != VPX_CODEC_OK)
         return res;