From 232dcf4b9456e44f6829229671c04a781d0f353b Mon Sep 17 00:00:00 2001 From: Eric Wong Date: Mon, 17 Jul 2006 00:15:49 +0000 Subject: 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 --- src/inputPlugins/flac_plugin.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/inputPlugins/flac_plugin.c') 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( -- cgit v1.2.3