shithub: libvpx

Download patch

ref: 4524548f80efd35ffd9f65ad3b86717bba9b98bd
parent: 15f9077ee2a6632beac2978e2574b2fc223613b1
author: Frank Galligan <fgalligan@google.com>
date: Wed Jun 12 07:31:28 EDT 2013

Fix compile warnings on windows.

Change-Id: If74bc6110016bc75ea3883ab136fbbac88f6a913

--- a/vp8/encoder/onyx_if.c
+++ b/vp8/encoder/onyx_if.c
@@ -362,7 +362,7 @@
                                         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.
--- a/vp9/common/vp9_findnearmv.h
+++ b/vp9/common/vp9_findnearmv.h
@@ -72,7 +72,7 @@
 
 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,