diff options
author | Christophe DUMONT <christophe.dumont@bnf.fr> | 2017-12-04 11:38:37 +0100 |
---|---|---|
committer | Erik de Castro Lopo <erikd@mega-nerd.com> | 2018-01-08 19:23:20 +1100 |
commit | a0027fadfa8772c505efb0a659c0ab960ef14bed (patch) | |
tree | be60b67c4cfa3ccf5bd1e7f757ed2869bc923635 /src/libFLAC/stream_decoder.c | |
parent | 972454edf8ac5773955a63d97f83970267093613 (diff) | |
download | flac-a0027fadfa8772c505efb0a659c0ab960ef14bed.tar.gz |
libFLAC : new function returns client_data from decoder
Signed-off-by: Erik de Castro Lopo <erikd@mega-nerd.com>
Diffstat (limited to 'src/libFLAC/stream_decoder.c')
-rw-r--r-- | src/libFLAC/stream_decoder.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/libFLAC/stream_decoder.c b/src/libFLAC/stream_decoder.c index a5527511..dd5d01fa 100644 --- a/src/libFLAC/stream_decoder.c +++ b/src/libFLAC/stream_decoder.c @@ -3395,3 +3395,8 @@ FLAC__bool file_eof_callback_(const FLAC__StreamDecoder *decoder, void *client_d return feof(decoder->private_->file)? true : false; } + +void *get_client_data_from_decoder(FLAC__StreamDecoder *decoder) +{ + return decoder->private_->client_data; +} |