]> granicus.if.org Git - libvpx/commitdiff
Fix compile warnings on windows.
authorFrank Galligan <fgalligan@google.com>
Wed, 12 Jun 2013 18:31:28 +0000 (11:31 -0700)
committerFrank Galligan <fgalligan@google.com>
Wed, 12 Jun 2013 18:34:15 +0000 (11:34 -0700)
Change-Id: If74bc6110016bc75ea3883ab136fbbac88f6a913

vp8/encoder/onyx_if.c
vp9/common/vp9_findnearmv.h

index 51b154f45c15417aeca535d501feaff0b23a9c94..73f658375879fdacc084747d12d4856e31545925 100644 (file)
@@ -362,7 +362,7 @@ static void reset_temporal_layer_change(VP8_COMP *cpi,
                                         VP8_CONFIG *oxcf,
                                         const int prev_num_layers)
 {
-    unsigned int i;
+    int i;
     double prev_layer_frame_rate = 0;
     const int curr_num_layers = cpi->oxcf.number_of_layers;
     // If the previous state was 1 layer, get current layer context from cpi.
index 91736fefe7a6151860f2e95bc98cfe6062676264..17fef125c99d61466cedb6742f04f7015df7aa70 100644 (file)
@@ -72,7 +72,7 @@ static int check_mv_bounds(int_mv *mv,
 
 vp9_prob *vp9_mv_ref_probs(VP9_COMMON *pc,
                            vp9_prob p[VP9_INTER_MODES - 1],
-                           const int context);
+                           int context);
 
 void vp9_append_sub8x8_mvs_for_idx(VP9_COMMON *pc,
                                    MACROBLOCKD *xd,