comparison eamad.c @ 9854:2428d32533f6 libavcodec

Initialise MAD decode_block_intra() loop iterator to zero.
author pross
date Sun, 14 Jun 2009 09:55:28 +0000
parents 173ec947655f
children 34a65026fa06
comparison
equal deleted inserted replaced
9853:ae38e13a63d6 9854:2428d32533f6
122 122
123 block[0] = (128 + get_sbits(&s->gb, 8)) * quant_matrix[0]; 123 block[0] = (128 + get_sbits(&s->gb, 8)) * quant_matrix[0];
124 124
125 /* The RL decoder is derived from mpeg1_decode_block_intra; 125 /* The RL decoder is derived from mpeg1_decode_block_intra;
126 Escaped level and run values a decoded differently */ 126 Escaped level and run values a decoded differently */
127 i = 0;
127 { 128 {
128 OPEN_READER(re, &s->gb); 129 OPEN_READER(re, &s->gb);
129 /* now quantify & encode AC coefficients */ 130 /* now quantify & encode AC coefficients */
130 for (;;) { 131 for (;;) {
131 UPDATE_CACHE(re, &s->gb); 132 UPDATE_CACHE(re, &s->gb);