diff src/flacng/plugin.c @ 1246:626f78ff2439

- Add FLAC 1.1.2 compatibility
author sun@fc5-buildsys
date Thu, 12 Jul 2007 19:30:31 +0200
parents 085c579ba08a
children 37598c8f4425
line wrap: on
line diff
--- a/src/flacng/plugin.c	Thu Jul 12 17:51:36 2007 +0300
+++ b/src/flacng/plugin.c	Thu Jul 12 19:30:31 2007 +0200
@@ -142,7 +142,8 @@
             metadata_callback,
             error_callback,
             test_info))) {
-        _ERROR("Could not initialize test FLAC decoder: %s(%d)", StreamDecoderInitState(ret), ret);
+        _ERROR("Could not initialize test FLAC decoder: %s(%d)",
+                FLAC__StreamDecoderInitStatusString[ret], ret);
         _LEAVE;
      }
 
@@ -157,7 +158,8 @@
             metadata_callback,
             error_callback,
             main_info))) {
-        _ERROR("Could not initialize main FLAC decoder: %s(%d)", StreamDecoderInitState(ret), ret);
+        _ERROR("Could not initialize main FLAC decoder: %s(%d)",
+                FLAC__StreamDecoderInitStatusString[ret], ret);
         _LEAVE;
      }