decoder/Thread: check ENABLE_FFMPEG, not HAVE_FFMPEG

This repairs the damage to commit 74dbaade6f done by commit
b3f5b4932c
This commit is contained in:
Max Kellermann
2017-03-01 17:06:23 +01:00
parent ff32b0dc9b
commit 3be2051808
2 changed files with 2 additions and 1 deletions

View File

@@ -235,7 +235,7 @@ decoder_run_stream_fallback(DecoderBridge &bridge, InputStream &is)
{
const struct DecoderPlugin *plugin;
#ifdef HAVE_FFMPEG
#ifdef ENABLE_FFMPEG
plugin = decoder_plugin_from_name("ffmpeg");
#else
plugin = decoder_plugin_from_name("mad");