X-Git-Url: http://git.tuebingen.mpg.de/?p=paraslash.git;a=blobdiff_plain;f=mp3_afh.c;h=ae7f117bfaeac1841c6883388a4b2e16c7a31a97;hp=0eb1188eda0f578fbe2382a99514eec81737a9a4;hb=ba30bb8d0bb025c0dad80e5ff47352b4bc130423;hpb=471684761a2039bbc89aa1e3c33c62de6bef86cf diff --git a/mp3_afh.c b/mp3_afh.c index 0eb1188e..ae7f117b 100644 --- a/mp3_afh.c +++ b/mp3_afh.c @@ -16,6 +16,8 @@ * Johannes Overmann */ +#include "para.h" +#include "afh.h" #include "server.h" #include "error.h" #include "string.h" @@ -269,7 +271,7 @@ static void mp3_get_id3(unsigned char *map, size_t numbytes, off_t *fpos) return; *fpos = numbytes - 128; if (strncmp("TAG", (char *) map + *fpos, 3)) { - PARA_INFO_LOG("%s", "no id3 tag\n"); + PARA_DEBUG_LOG("%s", "no id3 tag\n"); return; } *fpos = numbytes - 125; @@ -399,7 +401,7 @@ err_out: /* * Read mp3 information from audio file */ -static int mp3_get_file_info(char *map, size_t numbytes, +int mp3_get_file_info(char *map, size_t numbytes, struct audio_format_info *afi) { int ret;