From: Andre Date: Wed, 17 May 2006 19:00:26 +0000 (+0200) Subject: aac audio format handler: fix end of file timeout X-Git-Tag: v0.2.14~109 X-Git-Url: http://git.tuebingen.mpg.de/?p=paraslash.git;a=commitdiff_plain;h=298ad3958d76fc775dfd0503ae4b1e43dce70f04;ds=sidebyside aac audio format handler: fix end of file timeout 20 x chunk_time is plenty, but lets be conservative here. --- diff --git a/aac_afh.c b/aac_afh.c index 601621ed..1f3ea6b3 100644 --- a/aac_afh.c +++ b/aac_afh.c @@ -186,6 +186,7 @@ static int aac_get_file_info(FILE *file, char *info_str, long unsigned *frames, "audio_file_info3:\n", num_chunks, tv2ms(&af->chunk_tv)); + tv_scale(20, &af->chunk_tv, &af->eof_tv); return 1; } @@ -240,6 +241,5 @@ void aac_afh_init(struct audio_format_handler *p) af->read_chunk = aac_read_chunk; af->close_audio_file = aac_close_audio_file; af->get_header_info = NULL; - tv_scale(3, &af->chunk_tv, &af->eof_tv); af->suffixes = aac_suffixes; }