changeset 6740:ac91a72922e5 libavcodec

Setting i to 0 once should do.
author michael
date Sat, 03 May 2008 17:26:13 +0000
parents 4db65caccc9b
children 8d6c07df5afd
files nellymoserdec.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/nellymoserdec.c	Sat May 03 14:15:29 2008 +0000
+++ b/nellymoserdec.c	Sat May 03 17:26:13 2008 +0000
@@ -131,7 +131,7 @@
 
 static int sum_bits(short *buf, short shift, short off)
 {
-    int b, i = 0, ret = 0;
+    int b, i, ret = 0;
 
     for (i = 0; i < NELLY_FILL_LEN; i++) {
         b = buf[i]-off;