shithub: libvpx

Download patch

ref: 79e2b1f39b9bb79a64543935e3616bf8abf7dcd8
parent: 99d02c0f9f0944162c435801cec84c577e0cf2b0
author: John Koleszar <jkoleszar@google.com>
date: Wed Nov 17 04:08:47 EST 2010

Disable compile warning for ERROR macro

The ERROR macro collides wiith the MS SDK on Windows. Since we're not
making any win32 calls in this function, just #undef it first to take
ownership.

Change-Id: Ic18c60dfa3a33c52e6c49d3f4f8d3e7e3ac3341d

--- a/vp8/vp8_cx_iface.c
+++ b/vp8/vp8_cx_iface.c
@@ -104,6 +104,7 @@
 }
 
 
+#undef ERROR
 #define ERROR(str) do {\
         ctx->base.err_detail = str;\
         return VPX_CODEC_INVALID_PARAM;\
--