Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/xiph/speex.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTristan Matthews <tmatth@videolan.org>2019-02-27 20:24:22 +0300
committerTristan Matthews <tmatth@videolan.org>2019-02-27 20:24:52 +0300
commit191fc0a2cd090f7664bc793cd35791c9c59f169f (patch)
treedae0c670bd17541479b543f132ad9be7205d7a27
parent8808b1f0c2890143186d009040abd7a38d2af05e (diff)
oss-fuzz: add extern "C" before fuzz function
Reported by Tyson Smith.
-rw-r--r--contrib/oss-fuzz/speex_decode_fuzzer.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/oss-fuzz/speex_decode_fuzzer.cc b/contrib/oss-fuzz/speex_decode_fuzzer.cc
index 31af6e1..fa80f2e 100644
--- a/contrib/oss-fuzz/speex_decode_fuzzer.cc
+++ b/contrib/oss-fuzz/speex_decode_fuzzer.cc
@@ -47,7 +47,7 @@
#define speex_decode_func(a, b, c) speex_decode_int(a, b, c)
#endif
-int LLVMFuzzerTestOneInput(const uint8_t *data, size_t size)
+extern "C" int LLVMFuzzerTestOneInput(const uint8_t *data, size_t size)
{
output_type output[FRAME_SIZE];
void *decoder_state;