diff options
author | Mashiat Sarker Shakkhar <shahriman_ams@yahoo.com> | 2011-12-02 03:02:45 +0600 |
---|---|---|
committer | Mashiat Sarker Shakkhar <shahriman_ams@yahoo.com> | 2011-12-02 03:11:59 +0600 |
commit | 075ebdf73563084bb35f5853ff661ed16a4819f1 (patch) | |
tree | 7a7cc224cf7d86043ed132d37a66ca9aa021b52d | |
parent | 29c2fcb6776f80a0a5551bb82b43bc14c8202331 (diff) | |
download | ffmpeg-075ebdf73563084bb35f5853ff661ed16a4819f1.tar.gz |
Move num_lms reading out of a loop
-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 5a7957db61..cdaf2f312c 100644 --- a/libavcodec/wmalosslessdec.c +++ b/libavcodec/wmalosslessdec.c @@ -981,8 +981,8 @@ static void revert_cdlms(WmallDecodeCtx *s, int tile_size) for (ich = 0; ich < s->num_channels; ich++) { if (!s->is_channel_coded[ich]) continue; + num_lms = s->cdlms_ttl[ich]; for (icoef = 0; icoef < tile_size; icoef++) { - num_lms = s->cdlms_ttl[ich]; channel_coeff = s->channel_residues[ich][icoef]; if (icoef == s->transient_pos[ich]) { s->transient[ich] = 1; |