aboutsummaryrefslogtreecommitdiffstats
path: root/src/decoder/flac_decoder_plugin.c
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2011-03-23 22:31:40 +0100
committerMax Kellermann <max@duempel.org>2011-03-23 22:31:40 +0100
commitf680b0a431b35fa5a005fec27899d4b18f664f3c (patch)
tree7b3958682a2ea501ea47445bf59df11d8c3aa083 /src/decoder/flac_decoder_plugin.c
parent532f94a18797b8e349e78ab1e91cfa4a1205cbde (diff)
downloadmpd-f680b0a431b35fa5a005fec27899d4b18f664f3c.tar.gz
mpd-f680b0a431b35fa5a005fec27899d4b18f664f3c.tar.xz
mpd-f680b0a431b35fa5a005fec27899d4b18f664f3c.zip
decoder/flac: fix enum mismatch in flac_tell_cb()
Fix clang warning.
Diffstat (limited to '')
-rw-r--r--src/decoder/flac_decoder_plugin.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/decoder/flac_decoder_plugin.c b/src/decoder/flac_decoder_plugin.c
index e89e2ea11..9d980b79d 100644
--- a/src/decoder/flac_decoder_plugin.c
+++ b/src/decoder/flac_decoder_plugin.c
@@ -81,7 +81,7 @@ flac_tell_cb(G_GNUC_UNUSED const FLAC__StreamDecoder *fd,
struct flac_data *data = (struct flac_data *) fdata;
if (!data->input_stream->seekable)
- return FLAC__STREAM_DECODER_SEEK_STATUS_UNSUPPORTED;
+ return FLAC__STREAM_DECODER_TELL_STATUS_UNSUPPORTED;
*offset = (long)(data->input_stream->offset);