h264: change underread for 10bit QPEL to overread.
authorRonald S. Bultje <rsbultje@gmail.com>
Sun, 26 Feb 2012 01:24:56 +0000 (17:24 -0800)
committerRonald S. Bultje <rsbultje@gmail.com>
Fri, 2 Mar 2012 18:33:05 +0000 (10:33 -0800)
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

index 51412e3..bdacf9f 100644 (file)
@@ -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: