aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorEric Wong <normalperson@yhbt.net>2006-07-17 00:15:49 +0000
committerEric Wong <normalperson@yhbt.net>2006-07-17 00:15:49 +0000
commit232dcf4b9456e44f6829229671c04a781d0f353b (patch)
tree6adcf10b398c026109ab5c3f29502ba798f1ed39 /src
parenta234780aab8b2d693502e03165f658f96c956969 (diff)
downloadmpd-232dcf4b9456e44f6829229671c04a781d0f353b.tar.gz
mpd-232dcf4b9456e44f6829229671c04a781d0f353b.tar.xz
mpd-232dcf4b9456e44f6829229671c04a781d0f353b.zip
sparse: fix a enum type mismatch in flac_plugin
Both values are compiled to zero, but this is more correct since we're using the correct enum (in the unlikely case that the FLAC library breaks compatibility). git-svn-id: https://svn.musicpd.org/mpd/trunk@4379 09075e82-0dd4-0310-85a5-a0d7c8717e4f
Diffstat (limited to 'src')
-rw-r--r--src/inputPlugins/flac_plugin.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/inputPlugins/flac_plugin.c b/src/inputPlugins/flac_plugin.c
index b3e5f6418..4f579c1c0 100644
--- a/src/inputPlugins/flac_plugin.c
+++ b/src/inputPlugins/flac_plugin.c
@@ -98,7 +98,7 @@ int flac_decode(OutputBuffer * cb, DecoderControl * dc, InputStream * inStream)
}
if(FLAC__seekable_stream_decoder_init(flacDec)!=
- FLAC__STREAM_DECODER_SEARCH_FOR_METADATA)
+ FLAC__SEEKABLE_STREAM_DECODER_OK)
{
ERROR("flac problem doing init()\n");
flacPrintErroredState(