Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/FFmpeg/FFmpeg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul B Mahol <onemda@gmail.com>2016-04-20 23:45:05 +0300
committerPaul B Mahol <onemda@gmail.com>2016-04-20 23:47:09 +0300
commit38797a8033d061ade58b30b8ac86da222fe42a84 (patch)
tree81c80d3fdebd6ac78e98c389a53dedc0f18c694d /libavcodec/takdec.c
parente428f3b30cebbc2beafb3ff2972dbf8b47bc4a70 (diff)
avcodec/takdec: add code that got somehow lost in process of REing
Signed-off-by: Paul B Mahol <onemda@gmail.com>
Diffstat (limited to 'libavcodec/takdec.c')
-rw-r--r--libavcodec/takdec.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/libavcodec/takdec.c b/libavcodec/takdec.c
index 3b9a4b845e..023bc878e8 100644
--- a/libavcodec/takdec.c
+++ b/libavcodec/takdec.c
@@ -236,6 +236,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;