Fix com_add segfault.
[paraslash.git] / vss.c
diff --git a/vss.c b/vss.c
index a6d3dfc..2de7a30 100644 (file)
--- a/vss.c
+++ b/vss.c
@@ -278,6 +278,7 @@ int compute_afhi(const char *path, char *data, size_t size,
                ret = afl[i].get_file_info(data, size, afhi);
                if (ret >= 0)
                        return i;
+               PARA_WARNING_LOG("%s\n", PARA_STRERROR(-ret));
        }
        return -E_AUDIO_FORMAT;
 }