aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/utils.c
diff options
context:
space:
mode:
authorMason Carter <void.main.argc.argv@gmail.com>2013-12-21 17:27:18 -0800
committerCarl Eugen Hoyos <cehoyos@ag.or.at>2013-12-22 16:09:44 +0100
commitaeac212fda1bad4e0deb54cd261d6a037503eb82 (patch)
tree8884cb1e4d5b254f1e20cb9211cea78329cb44a2 /libavcodec/utils.c
parent62f05d6309b8b7116403ccf92b5386f48805448d (diff)
downloadffmpeg-aeac212fda1bad4e0deb54cd261d6a037503eb82.tar.gz
VC1: Fix intensity compensation performance regression
Fix https://trac.ffmpeg.org/ticket/3204 The problem was that intensity compensation was always used once it was encountered. This is because v->next_use_ic was never set back to zero. To fix this, when resetting v->next_luty/uv, also reset v->next_use_ic. This improved (restored) performance by 85% when decoding http://bit.ly/bbbwmv Signed-off-by: Michael Niedermayer <michaelni@gmx.at> (cherry picked from commit ed5bed4152203aed8cce01a679bed67bbda8903f)
Diffstat (limited to 'libavcodec/utils.c')
0 files changed, 0 insertions, 0 deletions