shithub: opus

Download patch

ref: e866ee559a37f9636c197f09dacc849fad59552e
parent: 3120e225c24e1be35df9a76dd4bf9ce57e8111ca
author: Jean-Marc Valin <[email protected]>
date: Fri Aug 12 12:23:16 EDT 2011

Identifying the fuzzing builds in the version string

--- a/src/opus.c
+++ b/src/opus.c
@@ -55,5 +55,9 @@
 
 const char *opus_get_version_string(void)
 {
-	return "libopus " OPUS_VERSION;
+	return "libopus " OPUS_VERSION
+#ifdef FUZZING
+	      "-fuzzing"
+#endif
+	      ;
 }