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-21 14:13:38 +0200
commit7626fb6cbf5f4755c3f7591e99ca475dfadf4c7c (patch)
tree57c9cebb08720d4d3a59c60c038871e600faed4c
parent6fdd122b11e57582655ae9d7735c2c7f45a36cb7 (diff)
downloadffmpeg-7626fb6cbf5f4755c3f7591e99ca475dfadf4c7c.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 d057e0a1cb..001086bc74 100644
--- a/libavcodec/takdec.c
+++ b/libavcodec/takdec.c
@@ -227,6 +227,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;