From 298ad3958d76fc775dfd0503ae4b1e43dce70f04 Mon Sep 17 00:00:00 2001 From: Andre Date: Wed, 17 May 2006 21:00:26 +0200 Subject: [PATCH] aac audio format handler: fix end of file timeout 20 x chunk_time is plenty, but lets be conservative here. --- aac_afh.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; } -- 2.39.5