shithub: libvpx

Download patch

ref: dbdb87b72fad01da75b90c84cf732d8d3dd7d1d3
parent: 3de038f396f671f52ac36fece25308ef877492f5
author: Yaowu Xu <[email protected]>
date: Wed Sep 3 13:02:31 EDT 2014

Fix a visual studio warning

Change-Id: I7f935e61c8c0ade7893a5212701f07bb346d78cb

--- a/vpxenc.c
+++ b/vpxenc.c
@@ -1202,7 +1202,7 @@
 
   // Check that the codec bit depth is greater than the input bit depth.
   if (stream->config.cfg.g_input_bit_depth >
-      (int)stream->config.cfg.g_bit_depth) {
+      (unsigned int)stream->config.cfg.g_bit_depth) {
     fatal("Stream %d: codec bit depth (%d) less than input bit depth (%d)",
           stream->index, (int)stream->config.cfg.g_bit_depth,
           stream->config.cfg.g_input_bit_depth);