From def3ce0458757c7a82e6c0abe1b38cb7f7451536 Mon Sep 17 00:00:00 2001 From: Andre Noll Date: Mon, 3 Oct 2011 20:45:09 +0200 Subject: [PATCH] stdin: Increase input buffer. Some flac files may contain the contain arbitrary large metadata at the beginning and libflac wants to see this data in one go. 128K should be enough for most cases. --- stdin.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/stdin.c b/stdin.c index 14dd9d40..c4ab323d 100644 --- a/stdin.c +++ b/stdin.c @@ -104,7 +104,7 @@ void stdin_set_defaults(struct stdin_task *sit) sit->task.pre_select = stdin_pre_select; sit->task.post_select = stdin_post_select; - sit->btrp = btr_pool_new("stdin", 64 * 1024); + sit->btrp = btr_pool_new("stdin", 128 * 1024); sprintf(sit->task.status, "stdin reader"); ret = mark_fd_nonblocking(STDIN_FILENO); if (ret >= 0) -- 2.39.2