X-Git-Url: http://git.tuebingen.mpg.de/?p=paraslash.git;a=blobdiff_plain;f=mp3_afh.c;h=530f36ff1a91921cf32ea2dbe9e1dd39e73c80b1;hp=4bd8888767406187d51f2f40f87cd8cc25d8c345;hb=d3a4257406e10fa1bb7b3cb63f6a774436e39317;hpb=90501714a4379e36e191a7d5330378f898ac258f diff --git a/mp3_afh.c b/mp3_afh.c index 4bd88887..530f36ff 100644 --- a/mp3_afh.c +++ b/mp3_afh.c @@ -1,5 +1,5 @@ /* - * Copyright (C) 2003-2006 Andre Noll + * Copyright (C) 2003-2007 Andre Noll * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -16,7 +16,7 @@ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111, USA. */ -/** \file mp3.c para_server's mp3 audio format handler */ +/** \file mp3_afh.c para_server's mp3 audio format handler */ /* * This file is based in part on mp3tech.c and mp3tech.h, Copyright (C) @@ -30,7 +30,7 @@ #include "server.cmdline.h" #include "server.h" -#include "afs.h" +#include "vss.h" #include "afh.h" #include "error.h" #include "fd.h" @@ -403,7 +403,7 @@ static int mp3_read_info(void) tv_divide(fcount, &total_time, &af->chunk_tv); rewind(mp3.file); PARA_DEBUG_LOG("chunk_time: %lums\n", tv2ms(&af->chunk_tv)); - tv_scale(30, &af->chunk_tv, &af->eof_tv); + tv_scale(3, &af->chunk_tv, &af->eof_tv); PARA_DEBUG_LOG("eof timeout: %lu\n", tv2ms(&af->eof_tv)); return 1; }