vp8: fix update_lf_deltas in libavcodec/vp8.c
authorJanne Salonen <jsalonen@google.com>
Mon, 19 Mar 2012 07:35:09 +0000 (09:35 +0200)
committerRonald S. Bultje <rsbultje@gmail.com>
Sat, 24 Mar 2012 15:22:05 +0000 (08:22 -0700)
commit14ba7472dca38323104d05a3eacd0eb2890b00c6
tree93d2e7e56d966a7e4cfbcd73641f949ea179a39d
parent494bce6224c7da6a174fb16a49ed26e5aab32af1
vp8: fix update_lf_deltas in libavcodec/vp8.c

lf_delta.ref[i] and lf_delta.mode[i] were incorrectly reset to 0 if
specific delta value was not updated. Fixed to keep the previous value
if flag indicates that element in question is not updated.

Signed-off-by: Janne Salonen <jsalonen@google.com>
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
libavcodec/vp8.c