changeset 9854:2428d32533f6 libavcodec

Initialise MAD decode_block_intra() loop iterator to zero.
author pross
date Sun, 14 Jun 2009 09:55:28 +0000
parents ae38e13a63d6
children 756ac43c7fd9
files eamad.c
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/eamad.c	Sun Jun 14 02:31:06 2009 +0000
+++ b/eamad.c	Sun Jun 14 09:55:28 2009 +0000
@@ -124,6 +124,7 @@
 
     /* 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 */