Identifying the fuzzing builds in the version string
authorJean-Marc Valin <jean-marc.valin@usherbrooke.ca>
Fri, 12 Aug 2011 20:23:16 +0000 (16:23 -0400)
committerJean-Marc Valin <jean-marc.valin@usherbrooke.ca>
Fri, 12 Aug 2011 20:23:16 +0000 (16:23 -0400)
src/opus.c

index 791ec09..9f3a4ec 100644 (file)
@@ -55,5 +55,9 @@ const char *opus_strerror(int error)
 
 const char *opus_get_version_string(void)
 {
-       return "libopus " OPUS_VERSION;
+       return "libopus " OPUS_VERSION
+#ifdef FUZZING
+             "-fuzzing"
+#endif
+             ;
 }