mirror of https://github.com/xiph/flac
Add warning that md5 functions are used elsewhere
This commit is contained in:
parent
771eb050e7
commit
3baaf23faa
|
@ -40,6 +40,14 @@ FLAC_API FLAC__bool FLAC__stream_encoder_disable_instruction_set(FLAC__StreamEnc
|
|||
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);
|
||||
/*
|
||||
* The following two routines were intended as debug routines and are not
|
||||
* in the public headers, but SHOULD NOT CHANGE! It is known they are used
|
||||
* in some non-audio projects needing every last bit of performance.
|
||||
* See https://github.com/xiph/flac/issues/547 for details. These projects
|
||||
* provide their own prototypes, so changing the signature of these
|
||||
* functions would break building.
|
||||
*/
|
||||
FLAC_API FLAC__bool FLAC__stream_encoder_set_do_md5(FLAC__StreamEncoder *encoder, FLAC__bool value);
|
||||
FLAC_API FLAC__bool FLAC__stream_encoder_get_do_md5(const FLAC__StreamEncoder *encoder);
|
||||
|
||||
|
|
|
@ -1565,6 +1565,14 @@ FLAC_API FLAC__bool FLAC__stream_encoder_set_streamable_subset(FLAC__StreamEncod
|
|||
return true;
|
||||
}
|
||||
|
||||
/*
|
||||
* The following routine was intended as debug routine and is not in the
|
||||
* public headers, but SHOULD NOT CHANGE! It is known is is used in
|
||||
* some non-audio projects needing every last bit of performance.
|
||||
* See https://github.com/xiph/flac/issues/547 for details. These projects
|
||||
* provide their own prototype, so changing the signature of this function
|
||||
* would break building.
|
||||
*/
|
||||
FLAC_API FLAC__bool FLAC__stream_encoder_set_do_md5(FLAC__StreamEncoder *encoder, FLAC__bool value)
|
||||
{
|
||||
FLAC__ASSERT(0 != encoder);
|
||||
|
|
Loading…
Reference in New Issue