FFmpeg/libavcodec
Michael Niedermayer 6a92598e14 avcodec/mpeg12dec: Redesign index checks for mpeg2_fast_decode_block_intra
This fixes the speed regression from 20626f53e9f41cb3db82329ed3db7d773cfa3a8f
and still checks sufficiently to prevent out of allocated memory accesses
due to the index

Before:
1681 decicycles in mpeg2_fast_decode_block_intra, 4194238 runs, 66 skips
After:
1658 decicycles in mpeg2_fast_decode_block_intra, 4194248 runs, 56 skips

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2014-01-26 02:57:29 +01:00
..
2014-01-22 14:41:24 +01:00
2014-01-09 19:33:07 +01:00
2014-01-21 11:57:43 +01:00
2014-01-21 11:58:52 +01:00
2014-01-02 22:07:09 +01:00
2014-01-22 14:41:24 +01:00
2014-01-10 17:08:04 +01:00
2014-01-10 17:51:13 +01:00
2014-01-04 04:16:46 +01:00
2014-01-24 03:40:37 +01:00
2014-01-22 14:41:24 +01:00
2014-01-19 22:26:43 +01:00