aboutsummaryrefslogtreecommitdiffstats
path: root/src/decoder/MikmodDecoderPlugin.cxx
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2013-09-05 18:20:52 +0200
committerMax Kellermann <max@duempel.org>2013-09-05 18:26:46 +0200
commit7a4c9f5f4c38b568a51ec13988f5fcfbbe278afa (patch)
tree03c6b14d6d54f4657aa5939982aec7f942e47c46 /src/decoder/MikmodDecoderPlugin.cxx
parent3330aa6f6a7fcd903f74cb8342f315ad35b54ead (diff)
downloadmpd-7a4c9f5f4c38b568a51ec13988f5fcfbbe278afa.tar.gz
mpd-7a4c9f5f4c38b568a51ec13988f5fcfbbe278afa.tar.xz
mpd-7a4c9f5f4c38b568a51ec13988f5fcfbbe278afa.zip
mpd_error.h: remove obsolete header
Migrate the remaining callers to FatalError().
Diffstat (limited to 'src/decoder/MikmodDecoderPlugin.cxx')
-rw-r--r--src/decoder/MikmodDecoderPlugin.cxx6
1 files changed, 3 insertions, 3 deletions
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 <glib.h>
#include <mikmod.h>
@@ -112,8 +112,8 @@ mikmod_decoder_init(const config_param &param)
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;