diff options
author | Mashiat Sarker Shakkhar <shahriman_ams@yahoo.com> | 2011-11-22 00:54:01 +0600 |
---|---|---|
committer | Mashiat Sarker Shakkhar <shahriman_ams@yahoo.com> | 2011-11-22 00:54:01 +0600 |
commit | a3a8d5e0c1c78cdccc6a25a27b78476cfde32814 (patch) | |
tree | 45a56605e0785112c5331aa2a30a358c0ae80ef8 /libavcodec | |
parent | 7a9807dea44463c6741474fa8609118cd5f53b75 (diff) | |
download | ffmpeg-a3a8d5e0c1c78cdccc6a25a27b78476cfde32814.tar.gz |
Initialize pred in lms_predict()
Diffstat (limited to 'libavcodec')
-rw-r--r-- | libavcodec/wmalosslessdec.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/wmalosslessdec.c b/libavcodec/wmalosslessdec.c index 3ae698538b..5b11d7d4a4 100644 --- a/libavcodec/wmalosslessdec.c +++ b/libavcodec/wmalosslessdec.c @@ -789,7 +789,7 @@ static void reset_codec(WmallDecodeCtx *s) static int lms_predict(WmallDecodeCtx *s, int ich, int ilms) { - int32_t pred, icoef; + int32_t pred = 0, icoef; int recent = s->cdlms[ich][ilms].recent; for (icoef = 0; icoef < s->cdlms[ich][ilms].order; icoef++) |