summaryrefslogtreecommitdiff
path: root/libavcodec
diff options
context:
space:
mode:
authorJustin Ruggles <justin.ruggles@gmail.com>2010-12-14 22:45:35 +0000
committerJustin Ruggles <justin.ruggles@gmail.com>2010-12-14 22:45:35 +0000
commit06f6f78578f67a57a07367168e451d58b8e665fe (patch)
tree9d3899ec21d8d94839e24b85f0589aabbc323593 /libavcodec
parent266d24be4a742cb5c41fbaca6063a61259ae7f51 (diff)
10l: fix typo in compute_exp_strategy()
Originally committed as revision 26013 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec')
-rw-r--r--libavcodec/ac3enc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/ac3enc.c b/libavcodec/ac3enc.c
index c91f345049..fe445ad2bb 100644
--- a/libavcodec/ac3enc.c
+++ b/libavcodec/ac3enc.c
@@ -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;
}
}