decoder/Thread: check ENABLE_FFMPEG, not HAVE_FFMPEG
This repairs the damage to commit74dbaade6f
done by commitb3f5b4932c
This commit is contained in:
parent
ff32b0dc9b
commit
3be2051808
1
NEWS
1
NEWS
|
@ -1,5 +1,6 @@
|
||||||
ver 0.20.6 (not yet released)
|
ver 0.20.6 (not yet released)
|
||||||
* decoder
|
* decoder
|
||||||
|
- ffmpeg: re-enable as fallback
|
||||||
- mpcdec: fix crash (division by zero) after seeking
|
- mpcdec: fix crash (division by zero) after seeking
|
||||||
* workaround for GCC 4.9.4 / libstdc++ bug (build failure)
|
* workaround for GCC 4.9.4 / libstdc++ bug (build failure)
|
||||||
|
|
||||||
|
|
|
@ -235,7 +235,7 @@ decoder_run_stream_fallback(DecoderBridge &bridge, InputStream &is)
|
||||||
{
|
{
|
||||||
const struct DecoderPlugin *plugin;
|
const struct DecoderPlugin *plugin;
|
||||||
|
|
||||||
#ifdef HAVE_FFMPEG
|
#ifdef ENABLE_FFMPEG
|
||||||
plugin = decoder_plugin_from_name("ffmpeg");
|
plugin = decoder_plugin_from_name("ffmpeg");
|
||||||
#else
|
#else
|
||||||
plugin = decoder_plugin_from_name("mad");
|
plugin = decoder_plugin_from_name("mad");
|
||||||
|
|
Loading…
Reference in New Issue