From 75602d559d3dd57d704839b817377646722bfed8 Mon Sep 17 00:00:00 2001 From: Andre Noll Date: Sun, 7 Jul 2013 13:22:48 +0200 Subject: [PATCH] afh: Initialize audio format handlers only once. afc.c calls afh_init() twice. This does not really hurt as this function is idempotent, but it causes the initialization log messages to be printed twice. This gets rid of the additional call to afh_init() which crept in in commit 042767ce (Use self-made help to avoid recompilations on version changes). --- afh.c | 1 - 1 file changed, 1 deletion(-) diff --git a/afh.c b/afh.c index 3881955d..8e707505 100644 --- a/afh.c +++ b/afh.c @@ -92,7 +92,6 @@ int main(int argc, char **argv) ret = -E_AFH_SYNTAX; if (conf.inputs_num == 0) goto out; - afh_init(); for (i = 0; i < conf.inputs_num; i++) { int ret2; ret = mmap_full_file(conf.inputs[i], O_RDONLY, &audio_file_data, -- 2.39.5