10l: fix typo in compute_exp_strategy()
authorJustin Ruggles <justin.ruggles@gmail.com>
Tue, 14 Dec 2010 22:45:35 +0000 (22:45 +0000)
committerJustin Ruggles <justin.ruggles@gmail.com>
Tue, 14 Dec 2010 22:45:35 +0000 (22:45 +0000)
Originally committed as revision 26013 to svn://svn.ffmpeg.org/ffmpeg/trunk

libavcodec/ac3enc.c

index c91f34504900e6aa8d13d07cbc5f07c0e471fc61..fe445ad2bb3361fa7d419b531be9a106505281a8 100644 (file)
@@ -555,7 +555,7 @@ static void compute_exp_strategy(AC3EncodeContext *s)
     if (s->lfe_on) {
         ch = s->lfe_channel;
         s->exp_strategy[0][ch] = EXP_D15;
-        for (blk = 1; blk < 5; blk++)
+        for (blk = 1; blk < AC3_MAX_BLOCKS; blk++)
             s->exp_strategy[blk][ch] = EXP_REUSE;
     }
 }