]> granicus.if.org Git - libvpx/commitdiff
postproc.c: Cast away MSVC data loss warning.
authorTom Finegan <tomfinegan@google.com>
Wed, 19 Feb 2014 19:58:28 +0000 (11:58 -0800)
committerTom Finegan <tomfinegan@google.com>
Wed, 19 Feb 2014 19:58:28 +0000 (11:58 -0800)
Change-Id: Ib80d4f394692a981e369dc5fecd5432cbec488d1

examples/postproc.c

index 2912fe6de4b4b2ba025d05aa31445e8be8886436..be08e920bebe371ff8d80cba3dfaba2260ffeab0 100644 (file)
@@ -118,7 +118,7 @@ int main(int argc, char **argv) {
     };
 
     // 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) {