avcodec/vc1_block: simplify ac_val computation
authorMichael Niedermayer <michael@niedermayer.cc>
Mon, 23 Apr 2018 00:08:10 +0000 (02:08 +0200)
committerMichael Niedermayer <michael@niedermayer.cc>
Tue, 24 Apr 2018 17:58:04 +0000 (19:58 +0200)
commitd06b01fc2d4f5e031d45f9460d1eea610d23d6c5
treefca3d5b004e7930d818bafff08287e38689214d4
parentf09fdf2d9c0f5acc60c4572b6d7bb211f7a2aca0
avcodec/vc1_block: simplify ac_val computation

also fixes: runtime error: index 1456 out of bounds for type 'int16_t [16]'

Found-by: durandal_1707
Reviewed-by: Paul B Mahol <onemda@gmail.com>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
libavcodec/vc1_block.c