[FFmpeg-cvslog] avcodec/takdec: add code that got somehow lost in process of REing

Paul B Mahol git at videolan.org
Thu Apr 21 14:29:51 CEST 2016


ffmpeg | branch: release/3.0 | Paul B Mahol <onemda at gmail.com> | Wed Apr 20 22:45:05 2016 +0200| [7626fb6cbf5f4755c3f7591e99ca475dfadf4c7c] | committer: Michael Niedermayer

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

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

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

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=7626fb6cbf5f4755c3f7591e99ca475dfadf4c7c
---

 libavcodec/takdec.c |    1 +
 1 file changed, 1 insertion(+)

diff --git a/libavcodec/takdec.c b/libavcodec/takdec.c
index d057e0a..001086b 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;



More information about the ffmpeg-cvslog mailing list