shithub: libvpx

Download patch

ref: 9d477bd2fa286bc4bd3e532c5b563f53e4035eef
parent: 77f7f6a8e81a8c5d0d0700930d1f32ca487763ce
parent: 75d7ee33309701c64ecb23a4bde3d61cc2e00e2f
author: James Zern <jzern@google.com>
date: Wed Feb 5 10:15:38 EST 2014

Merge "vpxdec: normalize frame size types"

--- a/vpxdec.c
+++ b/vpxdec.c
@@ -187,8 +187,8 @@
     if (!feof(infile))
       warn("Failed to read RAW frame size\n");
   } else {
-    const int kCorruptFrameThreshold = 256 * 1024 * 1024;
-    const int kFrameTooSmallThreshold = 256 * 1024;
+    const size_t kCorruptFrameThreshold = 256 * 1024 * 1024;
+    const size_t kFrameTooSmallThreshold = 256 * 1024;
     frame_size = mem_get_le32(raw_hdr);
 
     if (frame_size > kCorruptFrameThreshold) {