diff options
author | Erik de Castro Lopo <erikd@mega-nerd.com> | 2016-07-13 19:41:14 +1000 |
---|---|---|
committer | Erik de Castro Lopo <erikd@mega-nerd.com> | 2016-07-13 19:42:25 +1000 |
commit | 74e751c421dfc578449906af3afa70489e5fb50b (patch) | |
tree | 7a056fa02a56e9015737e74b9d3889a754fb7f3f /include | |
parent | 293acefe7795cb80394afc6ea50f6bb250130a73 (diff) | |
download | flac-74e751c421dfc578449906af3afa70489e5fb50b.tar.gz |
libFLAC: Set decoding status if write callback failed
Previously, it the write callback failed the error status
would be set to `FLAC__STREAM_DECODER_READ_FRAME`. Now it
gets set to `FLAC__STREAM_DECODER_WRITE_STATUS_ABORT`.
Patch-from: lvqcl <lvqcl.mail@gmail.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/FLAC/stream_decoder.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/FLAC/stream_decoder.h b/include/FLAC/stream_decoder.h index 9bfdd1f5..27a61a1e 100644 --- a/include/FLAC/stream_decoder.h +++ b/include/FLAC/stream_decoder.h @@ -228,7 +228,7 @@ typedef enum { */ FLAC__STREAM_DECODER_ABORTED, - /**< The decoder was aborted by the read callback. */ + /**< The decoder was aborted by the read or write callback. */ FLAC__STREAM_DECODER_MEMORY_ALLOCATION_ERROR, /**< An error occurred allocating memory. The decoder is in an invalid |