shithub: libvpx

Download patch

ref: 950058765d7f2f13a4718916ea352fd78e67d192
parent: bf893e84bd9416f732d24c7fabbe03dfcf2b2686
author: Paul Wilkins <paulwilkins@google.com>
date: Sun Oct 6 22:25:10 EDT 2013

Fix MSVC warning.

A new set of MSVC warnings were introduced by change
I3f36d3f7cd8d15195a6e2fafd1777cdaf9ecb847

In particular MSVC does not like:-

typedef const int16_t subpel_kernel[SUBPEL_TAPS];

struct subpix_fn_table {
  const subpel_kernel *filter_x;
  const subpel_kernel *filter_y;
};

causes  new warning in MSVC.
warning C4114: same type qualifier used more than once

Change-Id: Iae596fd13aadf36169faf00c68eabe9a32a9b156

--- a/vp9/common/vp9_filter.h
+++ b/vp9/common/vp9_filter.h
@@ -27,7 +27,7 @@
   SWITCHABLE = 4  /* should be the last one */
 } INTERPOLATIONFILTERTYPE;
 
-typedef const int16_t subpel_kernel[SUBPEL_TAPS];
+typedef int16_t subpel_kernel[SUBPEL_TAPS];
 
 struct subpix_fn_table {
   const subpel_kernel *filter_x;
--