shithub: libvpx

Download patch

ref: 68d49038c88ab2e5dcaea66fd820525187db28a6
parent: 8491e3c8829268a6dd009a9f656f4d6a56e42c06
parent: ebf455099034d8af9c9fa6e0d86d69251773a9bb
author: James Zern <jzern@google.com>
date: Wed Feb 19 09:04:20 EST 2014

Merge "simple_decoder.c: Silence MSVC data loss warning."

--- a/examples/simple_decoder.c
+++ b/examples/simple_decoder.c
@@ -134,7 +134,7 @@
     size_t frame_size = 0;
     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.");
 
     while ((img = vpx_codec_get_frame(&codec, &iter)) != NULL) {
--