Commit 232dcf4b authored by Eric Wong's avatar Eric Wong

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
parent a234780a
...@@ -98,7 +98,7 @@ int flac_decode(OutputBuffer * cb, DecoderControl * dc, InputStream * inStream) ...@@ -98,7 +98,7 @@ int flac_decode(OutputBuffer * cb, DecoderControl * dc, InputStream * inStream)
} }
if(FLAC__seekable_stream_decoder_init(flacDec)!= if(FLAC__seekable_stream_decoder_init(flacDec)!=
FLAC__STREAM_DECODER_SEARCH_FOR_METADATA) FLAC__SEEKABLE_STREAM_DECODER_OK)
{ {
ERROR("flac problem doing init()\n"); ERROR("flac problem doing init()\n");
flacPrintErroredState( flacPrintErroredState(
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment