Skip to content
Snippets Groups Projects
Commit 79e2b1f3 authored by John Koleszar's avatar John Koleszar
Browse files

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
parent 99d02c0f
No related branches found
No related tags found
No related merge requests found
......@@ -104,6 +104,7 @@ update_error_state(vpx_codec_alg_priv_t *ctx,
}
#undef ERROR
#define ERROR(str) do {\
ctx->base.err_detail = str;\
return VPX_CODEC_INVALID_PARAM;\
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment