Browse code

avcodec/takdec: add code that got somehow lost in process of REing

Signed-off-by: Paul B Mahol <onemda@gmail.com>
(cherry picked from commit 38797a8033d061ade58b30b8ac86da222fe42a84)

Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>

Paul B Mahol authored on 2016/04/21 05:45:05
Showing 1 changed files
... ...
@@ -224,6 +224,7 @@ static void decode_lpc(int32_t *coeffs, int mode, int length)
224 224
             int a3  = coeffs[2];
225 225
             int a4  = a3 + a1;
226 226
             int a5  = a4 + a2;
227
+            coeffs[2] = a5;
227 228
             coeffs += 3;
228 229
             for (i = 0; i < length - 3; i++) {
229 230
                 a3     += *coeffs;