mirror of https://github.com/FFmpeg/FFmpeg.git
This fixes out of global array reads. The alternative solutions of checking the index or modifying the VLC tables to prevent the index going outside are each about 1-2 cpu cyclces slower per coded 4x4 block. The alternative of padding the global tables directly is more ugly and moving them to the context should benefit cache locality. Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind Signed-off-by: Michael Niedermayer <michaelni@gmx.at>pull/59/head
parent
18b46a494e
commit
b7d1488393
3 changed files with 18 additions and 23 deletions
Loading…
Reference in new issue