summaryrefslogtreecommitdiff
path: root/libavcodec/nellymoserdec.c
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2008-05-03 17:26:13 +0000
committerMichael Niedermayer <michaelni@gmx.at>2008-05-03 17:26:13 +0000
commit8f51f55564249dce1a5a2b1594066c719e7c5f73 (patch)
tree75825b5856c751619065bca6ab59e35476304294 /libavcodec/nellymoserdec.c
parent20c9c8eec85c8851d72fd5b6009bec8a180a56d9 (diff)
Setting i to 0 once should do.
Originally committed as revision 13048 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/nellymoserdec.c')
-rw-r--r--libavcodec/nellymoserdec.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/nellymoserdec.c b/libavcodec/nellymoserdec.c
index a1b5d32d9e..3ef9caccc7 100644
--- a/libavcodec/nellymoserdec.c
+++ b/libavcodec/nellymoserdec.c
@@ -131,7 +131,7 @@ static void overlap_and_window(NellyMoserDecodeContext *s, float *state, float *
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;