aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRonald S. Bultje <rsbultje@gmail.com>2012-02-25 17:24:56 -0800
committerRonald S. Bultje <rsbultje@gmail.com>2012-03-02 10:33:05 -0800
commit291c9b62855d555ac5385e23219461b6080da7db (patch)
tree8f04333c2cca55bb150f0c1a0e06124bea6fc583
parent9c239f6026a170866a4a0c96908980ac2cfaa8b3 (diff)
downloadffmpeg-291c9b62855d555ac5385e23219461b6080da7db.tar.gz
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.
-rw-r--r--libavcodec/x86/h264_qpel_10bit.asm2
1 files changed, 1 insertions, 1 deletions
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: