diff options
author | Max Kellermann <max@duempel.org> | 2008-11-21 20:15:50 +0100 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2008-11-21 20:15:50 +0100 |
commit | 63c3ebee46c8adbb477829090961a386391de276 (patch) | |
tree | af6efd66e96225ad41f27387572aaca904aa22c5 /src/decoder/_flac_common.c | |
parent | f15fc4e99a67a348ceebb29f19e76395edfc27b4 (diff) | |
download | mpd-63c3ebee46c8adbb477829090961a386391de276.tar.gz mpd-63c3ebee46c8adbb477829090961a386391de276.tar.xz mpd-63c3ebee46c8adbb477829090961a386391de276.zip |
flac, oggflac: use GLib instead of utils.h/log.h
Diffstat (limited to '')
-rw-r--r-- | src/decoder/_flac_common.c | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/src/decoder/_flac_common.c b/src/decoder/_flac_common.c index 200b6fee6..5fea91734 100644 --- a/src/decoder/_flac_common.c +++ b/src/decoder/_flac_common.c @@ -20,7 +20,6 @@ */ #include "_flac_common.h" -#include "../log.h" #include <FLAC/format.h> #include <FLAC/metadata.h> @@ -177,16 +176,16 @@ void flac_error_common_cb(const char *plugin, switch (status) { case FLAC__STREAM_DECODER_ERROR_STATUS_LOST_SYNC: - ERROR("%s lost sync\n", plugin); + g_warning("%s lost sync\n", plugin); break; case FLAC__STREAM_DECODER_ERROR_STATUS_BAD_HEADER: - ERROR("bad %s header\n", plugin); + g_warning("bad %s header\n", plugin); break; case FLAC__STREAM_DECODER_ERROR_STATUS_FRAME_CRC_MISMATCH: - ERROR("%s crc mismatch\n", plugin); + g_warning("%s crc mismatch\n", plugin); break; default: - ERROR("unknown %s error\n", plugin); + g_warning("unknown %s error\n", plugin); } } |