shithub: libvpx

Download patch

ref: 33bb44355006b550c00085c7cf85fc7321321b75
parent: 68d49038c88ab2e5dcaea66fd820525187db28a6
parent: 6811dbc4c8f71438c607656c7828718c93c4ed8f
author: James Zern <jzern@google.com>
date: Wed Feb 19 09:04:34 EST 2014

Merge "decode_with_drops.c: Cast away MSVC data loss warning."

--- a/examples/decode_with_drops.c
+++ b/examples/decode_with_drops.c
@@ -120,7 +120,7 @@
     int skip;
     const unsigned char *frame = vpx_video_reader_get_frame(reader,
                                                             &frame_size);
-    if (vpx_codec_decode(&codec, frame, frame_size, NULL, 0))
+    if (vpx_codec_decode(&codec, frame, (unsigned int)frame_size, NULL, 0))
       die_codec(&codec, "Failed to decode frame.");
 
     ++frame_cnt;
--