summaryrefslogtreecommitdiffstats
authorMax Kellermann <[email protected]>2011-03-23 21:31:40 (GMT)
committer Max Kellermann <[email protected]>2011-03-23 21:31:40 (GMT)
commitf680b0a431b35fa5a005fec27899d4b18f664f3c (patch) (side-by-side diff)
tree7b3958682a2ea501ea47445bf59df11d8c3aa083
parent532f94a18797b8e349e78ab1e91cfa4a1205cbde (diff)
downloadmpd-f680b0a431b35fa5a005fec27899d4b18f664f3c.zip
mpd-f680b0a431b35fa5a005fec27899d4b18f664f3c.tar.gz
mpd-f680b0a431b35fa5a005fec27899d4b18f664f3c.tar.bz2
decoder/flac: fix enum mismatch in flac_tell_cb()
Fix clang warning.
Diffstat (more/less context) (ignore whitespace changes)
-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 e89e2ea..9d980b7 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);