[FFmpeg-cvslog] h264: change underread for 10bit QPEL to overread.

Ronald S. Bultje git at videolan.org
Sat Mar 3 00:38:32 CET 2012


ffmpeg | branch: master | Ronald S. Bultje <rsbultje at gmail.com> | Sat Feb 25 17:24:56 2012 -0800| [291c9b62855d555ac5385e23219461b6080da7db] | committer: Ronald S. Bultje

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.

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=291c9b62855d555ac5385e23219461b6080da7db
---

 libavcodec/x86/h264_qpel_10bit.asm |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/libavcodec/x86/h264_qpel_10bit.asm b/libavcodec/x86/h264_qpel_10bit.asm
index 51412e3..bdacf9f 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:



More information about the ffmpeg-cvslog mailing list