summaryrefslogtreecommitdiff
path: root/audio/normalize/patches/patch-aa
blob: fdc1e978f3c83f4fe4e6b4048f5a4340083d2b6a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
$NetBSD: patch-aa,v 1.4 2004/12/27 21:38:06 wiz Exp $

--- src/mpegvolume.c.orig	2002-08-26 08:32:26.000000000 +0200
+++ src/mpegvolume.c
@@ -312,6 +312,7 @@ decode_output(void *dat, struct mad_head
      */
     ds->si->bits_per_sample = 16;
     ds->sums[0] = ds->sums[1] = 0;
+    ds->maxpow = 0;
 
     /* set up smoothing window buffer */
     for (c = 0; c < 2; c++) {