shithub: dav1d

Download patch

ref: fb8078a676711acdad749f4d478ee72d8aa6c471
parent: 53194dbc0de76d9764c40a6153d9971433d3a06c
author: James Almer <jamrial@gmail.com>
date: Sat Oct 20 08:11:09 EDT 2018

x86: fix redefinition of _WIN32_WINNT in looprestoration

--- a/src/x86/looprestoration_init.c
+++ b/src/x86/looprestoration_init.c
@@ -25,13 +25,11 @@
  * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  */
 
-#include <assert.h>
+#include "src/cpu.h"
+#include "src/looprestoration.h"
 
 #include "common/attributes.h"
 #include "common/intops.h"
-
-#include "src/cpu.h"
-#include "src/looprestoration.h"
 
 #if BITDEPTH == 8 && ARCH_X86_64
 void dav1d_wiener_filter_h_avx2(int16_t *dst, const pixel (*left)[4],