summaryrefslogtreecommitdiff
path: root/libavcodec/eamad.c
diff options
context:
space:
mode:
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 */