mirror of https://github.com/xiph/flac
Revert "move the new public get_decoder_client_data function to public header."
Remove this from the 1.3.x release branch since it's an API
change. Backward-compatible, but still. This change should
instead be released as part of flac 1.4.0.
This reverts commit 19a0e99ac3
.
Signed-off-by: Martijn van Beurden <mvanb1@gmail.com>
This commit is contained in:
parent
f50609fc55
commit
ef5c89e705
|
@ -1550,16 +1550,6 @@ FLAC_API FLAC__bool FLAC__stream_decoder_skip_single_frame(FLAC__StreamDecoder *
|
|||
*/
|
||||
FLAC_API FLAC__bool FLAC__stream_decoder_seek_absolute(FLAC__StreamDecoder *decoder, FLAC__uint64 sample);
|
||||
|
||||
/** Return client_data from decoder.
|
||||
* The data pointed to by the pointer should not be modified.
|
||||
*
|
||||
* \param decoder A decoder instance.
|
||||
* \retval const void *
|
||||
* The callee's client data set through FLAC__stream_decoder_init_*().
|
||||
* Do not modify the contents.
|
||||
*/
|
||||
FLAC_API const void *FLAC__get_decoder_client_data(FLAC__StreamDecoder *decoder);
|
||||
|
||||
/* \} */
|
||||
|
||||
#ifdef __cplusplus
|
||||
|
|
|
@ -57,4 +57,9 @@ typedef struct FLAC__StreamDecoderProtected {
|
|||
*/
|
||||
uint32_t FLAC__stream_decoder_get_input_bytes_unconsumed(const FLAC__StreamDecoder *decoder);
|
||||
|
||||
/*
|
||||
* Return client_data from decoder. The data pointed to by the pointer should not be modified.
|
||||
*/
|
||||
FLAC_API const void *FLAC__get_decoder_client_data(FLAC__StreamDecoder *decoder);
|
||||
|
||||
#endif
|
||||
|
|
Loading…
Reference in New Issue