Browse Source

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 38797a8033)

Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
tags/n2.8.7
Paul B Mahol Michael Niedermayer 9 years ago
parent
commit
e80a4ce69f
1 changed files with 1 additions and 0 deletions
  1. +1
    -0
      libavcodec/takdec.c

+ 1
- 0
libavcodec/takdec.c View File

@@ -224,6 +224,7 @@ static void decode_lpc(int32_t *coeffs, int mode, int length)
int a3 = coeffs[2]; int a3 = coeffs[2];
int a4 = a3 + a1; int a4 = a3 + a1;
int a5 = a4 + a2; int a5 = a4 + a2;
coeffs[2] = a5;
coeffs += 3; coeffs += 3;
for (i = 0; i < length - 3; i++) { for (i = 0; i < length - 3; i++) {
a3 += *coeffs; a3 += *coeffs;


Loading…
Cancel
Save