shithub: libvpx

Download patch

ref: 3b56d89255f82a88c5b1901e7ac02b9a135d798d
parent: a61973bf29d4756f6967c0cbc2b805f37f6c00bc
parent: dbdb87b72fad01da75b90c84cf732d8d3dd7d1d3
author: Yaowu Xu <[email protected]>
date: Mon Sep 8 05:17:21 EDT 2014

Merge "Fix a visual studio warning"

--- 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);