summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorMartijn van Beurden <mvanb1@gmail.com>2022-05-10 21:25:54 +0200
committerMartijn van Beurden <mvanb1@gmail.com>2022-05-11 10:34:49 +0200
commitbecba351f00b2f09a39590264dfbb11b84c9fcba (patch)
treef99549c5c743b874f348fc50c3a952a3ef044ef6 /include
parent87a5f3e9528d67b53a5f5e791d1ddd71c60d4a08 (diff)
downloadflac-becba351f00b2f09a39590264dfbb11b84c9fcba.tar.gz
Make it possible for fuzzer to disable instruction set optimizations
This should greatly increase code coverage of the encoder fuzzer
Diffstat (limited to 'include')
-rw-r--r--include/share/private.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/share/private.h b/include/share/private.h
index 03083d3f..34e02bcb 100644
--- a/include/share/private.h
+++ b/include/share/private.h
@@ -36,6 +36,7 @@
* Unpublished debug routines from libFLAC. This should not be used from any
* client code other than code shipped with the FLAC sources.
*/
+FLAC_API FLAC__bool FLAC__stream_encoder_disable_instruction_set(FLAC__StreamEncoder *encoder, FLAC__bool value);
FLAC_API FLAC__bool FLAC__stream_encoder_disable_constant_subframes(FLAC__StreamEncoder *encoder, FLAC__bool value);
FLAC_API FLAC__bool FLAC__stream_encoder_disable_fixed_subframes(FLAC__StreamEncoder *encoder, FLAC__bool value);
FLAC_API FLAC__bool FLAC__stream_encoder_disable_verbatim_subframes(FLAC__StreamEncoder *encoder, FLAC__bool value);