---
 libavcodec/ac3enc.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git libavcodec/ac3enc.c libavcodec/ac3enc.c
index 5760794..79329c6 100644
--- libavcodec/ac3enc.c
+++ libavcodec/ac3enc.c
@@ -415,7 +415,7 @@ static void compute_exp_strategy(AC3EncodeContext *s,
     uint8_t exp_str1[AC3_MAX_CHANNELS][AC3_MAX_BLOCKS];
     int ch, blk;
 
-    for (ch = 0; ch < s->fbw_channels; ch++) {
+    for (ch = 0; ch < s->channels; ch++) {
         for (blk = 0; blk < AC3_MAX_BLOCKS; blk++) {
             exp1[ch][blk] = exp[blk][ch];
             exp_str1[ch][blk] = exp_strategy[blk][ch];
_______________________________________________
FFmpeg-soc mailing list
[email protected]
https://lists.mplayerhq.hu/mailman/listinfo/ffmpeg-soc

Reply via email to