From e2492a061336dadea0643b8622f9690406cf904d Mon Sep 17 00:00:00 2001 From: Moritz Bunkus Date: Sat, 18 Dec 2004 18:54:58 +0000 Subject: [PATCH] Don't add to undefined variables. --- src/common/wavpack_common.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/common/wavpack_common.cpp b/src/common/wavpack_common.cpp index bfca475b3..d2ce2b1b4 100644 --- a/src/common/wavpack_common.cpp +++ b/src/common/wavpack_common.cpp @@ -131,7 +131,7 @@ wv_parse_frame(mm_io_c *mm_io, } } else { meta.channel_count += (wphdr.flags & WV_MONO_FLAG) ? 1 : 2; - total_bytes += wphdr.ck_size + 8; + total_bytes = wphdr.ck_size + 8; if (wphdr.flags & WV_FINAL_BLOCK) { mxverb(2, "wavpack_reader: %d chans: %s, %d bytes\n",