summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYaowu Xu <yaowu@google.com>2014-09-03 17:02:31 -0700
committerYaowu Xu <yaowu@google.com>2014-09-04 17:00:32 -0700
commitdbdb87b72fad01da75b90c84cf732d8d3dd7d1d3 (patch)
treeb207742504cfd511d8abee2f44bab890650db350
parent3de038f396f671f52ac36fece25308ef877492f5 (diff)
downloadlibvpx-dbdb87b72fad01da75b90c84cf732d8d3dd7d1d3.tar
libvpx-dbdb87b72fad01da75b90c84cf732d8d3dd7d1d3.tar.gz
libvpx-dbdb87b72fad01da75b90c84cf732d8d3dd7d1d3.tar.bz2
libvpx-dbdb87b72fad01da75b90c84cf732d8d3dd7d1d3.zip
Fix a visual studio warning
Change-Id: I7f935e61c8c0ade7893a5212701f07bb346d78cb
-rw-r--r--vpxenc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/vpxenc.c b/vpxenc.c
index b1156e1de..5afca2463 100644
--- a/vpxenc.c
+++ b/vpxenc.c
@@ -1202,7 +1202,7 @@ static void validate_stream_config(const struct stream_state *stream,
// 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);