X-Git-Url: http://git.tuebingen.mpg.de/?p=paraslash.git;a=blobdiff_plain;f=amp_filter.c;h=61b1653ea069ce479b6b609da5703fc57bc717c1;hp=f3d0d87d45f077d901d5f4cb98c20dc9a3099547;hb=ac1f19d550a81c8408c8fce2e237996c950253ab;hpb=4adde8dae3317fa83b81e7a860c9ed9133e99bb0 diff --git a/amp_filter.c b/amp_filter.c index f3d0d87d..61b1653e 100644 --- a/amp_filter.c +++ b/amp_filter.c @@ -1,8 +1,4 @@ -/* - * Copyright (C) 2009 Andre Noll - * - * Licensed under the GPL v2. For licencing details see COPYING. - */ +/* Copyright (C) 2009 Andre Noll , see file COPYING. */ /** \file amp_filter.c Paraslash's amplify filter. */ @@ -39,8 +35,8 @@ static void amp_open(struct filter_node *fn) fn->private_data = pad; fn->min_iqs = 2; - if (!given && stat_item_values[SI_AMPLIFICATION]) - sscanf(stat_item_values[SI_AMPLIFICATION], "%u", &pad->amp); + if (!given && stat_item_values[SI_amplification]) + sscanf(stat_item_values[SI_amplification], "%u", &pad->amp); else pad->amp = amp_arg; PARA_INFO_LOG("amplification: %u (scaling factor: %1.2f)\n",