X-Git-Url: http://git.tuebingen.mpg.de/?p=paraslash.git;a=blobdiff_plain;f=compress_filter.c;h=69a982ef5a3aff20a10fcebe468a1af5efd33ba4;hp=658976423faa1115b710102633beff6f3093151c;hb=f5c010bd27e131fca0c2ae58ebdde80e44655dcc;hpb=b59e841036a107b52a0221e48d7e05f86da92979 diff --git a/compress_filter.c b/compress_filter.c index 65897642..69a982ef 100644 --- a/compress_filter.c +++ b/compress_filter.c @@ -1,8 +1,4 @@ -/* - * Copyright (C) 2005 Andre Noll - * - * Licensed under the GPL v2. For licencing details see COPYING. - */ +/* Copyright (C) 2005 Andre Noll , see file COPYING. */ /** \file compress_filter.c Paraslash's dynamic audio range compressor. */ @@ -53,7 +49,7 @@ static int compress_post_select(__a_unused struct sched *s, void *context) int16_t *ip, *op; uint32_t inertia = U32_OPTVAL(INERTIA, fn->lpr); unsigned gain_shift = inertia + U32_OPTVAL(DAMP, fn->lpr), - mask = (1 << U32_OPTVAL(BLOCKSIZE, fn->lpr)) - 1; + mask = (1U << U32_OPTVAL(BLOCKSIZE, fn->lpr)) - 1U; //inplace = false; next_buffer: ret = btr_node_status(btrn, fn->min_iqs, BTR_NT_INTERNAL);