shithub: libvpx

Download patch

ref: a3c521e14307f7218c5405b5274f873e9f5c84f5
parent: e3178d0c1c21534f933cb8196b79e420c5760d1a
author: Tom Finegan <tomfinegan@google.com>
date: Wed Feb 19 06:58:28 EST 2014

postproc.c: Cast away MSVC data loss warning.

Change-Id: Ib80d4f394692a981e369dc5fecd5432cbec488d1

--- a/examples/postproc.c
+++ b/examples/postproc.c
@@ -118,7 +118,7 @@
     };
 
     // Decode the frame with 15ms deadline
-    if (vpx_codec_decode(&codec, frame, frame_size, NULL, 15000))
+    if (vpx_codec_decode(&codec, frame, (unsigned int)frame_size, NULL, 15000))
       die_codec(&codec, "Failed to decode frame");
 
     while ((img = vpx_codec_get_frame(&codec, &iter)) != NULL) {
--