X-Git-Url: http://git.tuebingen.mpg.de/?p=paraslash.git;a=blobdiff_plain;f=mp3_afh.c;h=e36cdef934f238534eb50346869bfa20e9d1e38e;hp=0eb1188eda0f578fbe2382a99514eec81737a9a4;hb=14fe3da6c11b8085b11ef04f5659a18716a904ff;hpb=471684761a2039bbc89aa1e3c33c62de6bef86cf diff --git a/mp3_afh.c b/mp3_afh.c index 0eb1188e..e36cdef9 100644 --- a/mp3_afh.c +++ b/mp3_afh.c @@ -16,9 +16,12 @@ * Johannes Overmann */ -#include "server.h" +#include "para.h" #include "error.h" +#include "afh.h" #include "string.h" +#include "afs.h" +#include "server.h" /** \cond some defines and structs which are only used in this file */ @@ -269,7 +272,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 +402,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;