aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPaul B Mahol <onemda@gmail.com>2016-04-20 22:45:05 +0200
committerMichael Niedermayer <michael@niedermayer.cc>2016-04-28 03:47:13 +0200
commitcec42e6f4de3b040fac34eb99dc1acbb2cfdcbee (patch)
tree48a9fde48393f813cc9500e15887a5cc5e5ff67e
parent7e2c69516910ff6170cd687a9cd057f2f01afa2c (diff)
downloadffmpeg-cec42e6f4de3b040fac34eb99dc1acbb2cfdcbee.tar.gz
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>
-rw-r--r--libavcodec/takdec.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/libavcodec/takdec.c b/libavcodec/takdec.c
index 28f884a3f6..fbec0e037b 100644
--- a/libavcodec/takdec.c
+++ b/libavcodec/takdec.c
@@ -224,6 +224,7 @@ static void decode_lpc(int32_t *coeffs, int mode, int length)
int a3 = coeffs[2];
int a4 = a3 + a1;
int a5 = a4 + a2;
+ coeffs[2] = a5;
coeffs += 3;
for (i = 0; i < length - 3; i++) {
a3 += *coeffs;