From 291c9b62855d555ac5385e23219461b6080da7db Mon Sep 17 00:00:00 2001 From: "Ronald S. Bultje" Date: Sat, 25 Feb 2012 17:24:56 -0800 Subject: h264: change underread for 10bit QPEL to overread. This prevents us from reading before the start of the buffer, and thus prevents crashes resulting from this behaviour. Fixes bug 237. --- libavcodec/x86/h264_qpel_10bit.asm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libavcodec/x86') diff --git a/libavcodec/x86/h264_qpel_10bit.asm b/libavcodec/x86/h264_qpel_10bit.asm index 51412e3977..bdacf9f472 100644 --- a/libavcodec/x86/h264_qpel_10bit.asm +++ b/libavcodec/x86/h264_qpel_10bit.asm @@ -619,7 +619,7 @@ MC MC33 %define PAD 12 %define COUNT 2 %else -%define PAD 0 +%define PAD 4 %define COUNT 3 %endif put_hv%2_10_%1: -- cgit v1.2.3