summaryrefslogtreecommitdiff
path: root/libavcodec/eamad.c
diff options
context:
space:
mode:
authorPeter Ross <pross@xvid.org>2009-06-14 09:55:28 +0000
committerPeter Ross <pross@xvid.org>2009-06-14 09:55:28 +0000
commit7d582280558e1eb2b2b41a911e06e13916cfc7b5 (patch)
tree9356d1024e4569b27ac9925861fe9b333bd4e967 /libavcodec/eamad.c
parent94994d8d9a8002e6c9b49c79c0af3a0952e1905e (diff)
downloadffmpeg-7d582280558e1eb2b2b41a911e06e13916cfc7b5.tar.gz
Initialise MAD decode_block_intra() loop iterator to zero.
Originally committed as revision 19189 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/eamad.c')
-rw-r--r--libavcodec/eamad.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/libavcodec/eamad.c b/libavcodec/eamad.c
index b4e6c42d57..7555e4a6a6 100644
--- a/libavcodec/eamad.c
+++ b/libavcodec/eamad.c
@@ -124,6 +124,7 @@ static inline void decode_block_intra(MadContext * t, DCTELEM * block)
/* The RL decoder is derived from mpeg1_decode_block_intra;
Escaped level and run values a decoded differently */
+ i = 0;
{
OPEN_READER(re, &s->gb);
/* now quantify & encode AC coefficients */