diff options
author | Guillaume Martres <smarter@ubuntu.com> | 2014-01-11 22:46:24 +0100 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2014-01-12 00:49:11 +0100 |
commit | c9fe0caf7a1abde7ca0b1a359f551103064867b1 (patch) | |
tree | 5e2daab15f04d19bd0315ac5696b68bf3f532289 /libavcodec/x86/dsputil_qns_template.c | |
parent | 65801040c648bbe352ad48ced2045bbeb25e9fcf (diff) | |
download | ffmpeg-c9fe0caf7a1abde7ca0b1a359f551103064867b1.tar.gz |
hevc: clip pixels when transquant bypass is used
Fixes: asan_stack-oob_eae8e3_7333_WPP_B_ericsson_MAIN10_2.bit
Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
This is a more proper fix than 5856bca360c5bc3e340a357d91b1f993c80a7bea
The reconstructed picture should always be clipped (see section 8.6.5),
previously we did not clip coding units where
cu_transquant_bypass_flag == 1
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavcodec/x86/dsputil_qns_template.c')
0 files changed, 0 insertions, 0 deletions