From 7a4c9f5f4c38b568a51ec13988f5fcfbbe278afa Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Thu, 5 Sep 2013 18:20:52 +0200 Subject: mpd_error.h: remove obsolete header Migrate the remaining callers to FatalError(). --- src/decoder/MikmodDecoderPlugin.cxx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/decoder/MikmodDecoderPlugin.cxx') diff --git a/src/decoder/MikmodDecoderPlugin.cxx b/src/decoder/MikmodDecoderPlugin.cxx index f9896ef98..0de876f06 100644 --- a/src/decoder/MikmodDecoderPlugin.cxx +++ b/src/decoder/MikmodDecoderPlugin.cxx @@ -20,8 +20,8 @@ #include "config.h" #include "MikmodDecoderPlugin.hxx" #include "DecoderAPI.hxx" -#include "mpd_error.h" #include "TagHandler.hxx" +#include "system/FatalError.hxx" #include #include @@ -112,8 +112,8 @@ mikmod_decoder_init(const config_param ¶m) mikmod_sample_rate = param.GetBlockValue("sample_rate", 44100u); if (!audio_valid_sample_rate(mikmod_sample_rate)) - MPD_ERROR("Invalid sample rate in line %d: %u", - param.line, mikmod_sample_rate); + FormatFatalError("Invalid sample rate in line %d: %u", + param.line, mikmod_sample_rate); md_device = 0; md_reverb = 0; -- cgit v1.2.3