shithub: dav1d

Download patch

ref: 31634e36e28d33a89b44c6f4434e99563499e1b8
parent: 36a2d2caa090cbcbedbca33dd207ccd9f9bee170
author: Janne Grunau <[email protected]>
date: Fri Oct 26 05:15:49 EDT 2018

libfuzzer: unbreak oss-fuzz build

oss-fuzz builds the fuzzing binary out of meson. Local (quoted) includes
should be preferred for headers located in the same directory.

--- a/tests/libfuzzer/dav1d_fuzzer.c
+++ b/tests/libfuzzer/dav1d_fuzzer.c
@@ -31,7 +31,7 @@
 #include <string.h>
 
 #include <dav1d/dav1d.h>
-#include <tests/libfuzzer/dav1d_fuzzer.h>
+#include "dav1d_fuzzer.h"
 
 static unsigned r32le(const uint8_t *const p) {
     return ((uint32_t)p[3] << 24U) | (p[2] << 16U) | (p[1] << 8U) | p[0];
--- a/tests/libfuzzer/main.c
+++ b/tests/libfuzzer/main.c
@@ -33,7 +33,7 @@
 #include <string.h>
 #include <stdio.h>
 
-#include <tests/libfuzzer/dav1d_fuzzer.h>
+#include "dav1d_fuzzer.h"
 
 // expects ivf input