[FFmpeg-cvslog] Initialize pred in lms_predict()
Mashiat Sarker Shakkhar
git at videolan.org
Tue Nov 22 21:41:43 CET 2011
ffmpeg | branch: master | Mashiat Sarker Shakkhar <shahriman_ams at yahoo.com> | Tue Nov 22 00:54:01 2011 +0600| [a3a8d5e0c1c78cdccc6a25a27b78476cfde32814] | committer: Mashiat Sarker Shakkhar
Initialize pred in lms_predict()
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=a3a8d5e0c1c78cdccc6a25a27b78476cfde32814
---
libavcodec/wmalosslessdec.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/libavcodec/wmalosslessdec.c b/libavcodec/wmalosslessdec.c
index 3ae6985..5b11d7d 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++)
More information about the ffmpeg-cvslog
mailing list