diff options
author | Ronald S. Bultje <rsbultje@gmail.com> | 2012-02-25 17:24:56 -0800 |
---|---|---|
committer | Reinhard Tartler <siretart@tauware.de> | 2012-03-05 18:00:31 +0100 |
commit | 5186984ee9cf65946ed8bcf4b480f81c4310a8ce (patch) | |
tree | 2b65e660f5071e2b53a683c28a8b8de69a5a1042 | |
parent | b5331b979bfb31ec1715618b2712429764b6a9b5 (diff) | |
download | ffmpeg-5186984ee9cf65946ed8bcf4b480f81c4310a8ce.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.
(cherry picked from commit 291c9b62855d555ac5385e23219461b6080da7db)
Signed-off-by: Reinhard Tartler <siretart@tauware.de>
-rw-r--r-- | 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 15dd72ca36..cafd4dabf0 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: |