[SCM] libav/experimental: 10l: fix typo in compute_exp_strategy()

siretart at users.alioth.debian.org siretart at users.alioth.debian.org
Sun Jun 30 17:20:25 UTC 2013


The following commit has been merged in the experimental branch:
commit 06f6f78578f67a57a07367168e451d58b8e665fe
Author: Justin Ruggles <justin.ruggles at gmail.com>
Date:   Tue Dec 14 22:45:35 2010 +0000

    10l: fix typo in compute_exp_strategy()
    
    Originally committed as revision 26013 to svn://svn.ffmpeg.org/ffmpeg/trunk

diff --git a/libavcodec/ac3enc.c b/libavcodec/ac3enc.c
index c91f345..fe445ad 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;
     }
 }

-- 
Libav/FFmpeg packaging



More information about the pkg-multimedia-commits mailing list