multimedia/libvpx: backport VP9 fix (direct commit)

Obtained from:	upstream (libvpx 1.7.0, via Firefox 59)
Approved by:	ports-secteam blanket
This commit is contained in:
Jan Beich 2018-03-08 00:20:21 +00:00
parent 14ba0b7874
commit 5da5d5ef1e
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/branches/2018Q1/; revision=463848
2 changed files with 14 additions and 1 deletions

View File

@ -4,7 +4,7 @@
PORTNAME= libvpx
DISTVERSIONPREFIX= v
DISTVERSION= 1.6.1
PORTREVISION= 3
PORTREVISION= 4
CATEGORIES= multimedia
PATCH_SITES= https://github.com/${GH_ACCOUNT}/${GH_PROJECT}/commit/

View File

@ -0,0 +1,13 @@
https://chromium.googlesource.com/webm/libvpx/+/84a7263d4c12%5E!/
--- vp9/encoder/x86/vp9_quantize_ssse3_x86_64.asm.orig 2017-01-12 20:27:27 UTC
+++ vp9/encoder/x86/vp9_quantize_ssse3_x86_64.asm
@@ -171,7 +171,7 @@ cglobal quantize_%1, 0, %2, 15, coeff, ncoeff, skip, z
pshuflw m7, m8, 0x1
pmaxsw m8, m7
pextrw r6, m8, 0
- mov [r2], r6
+ mov [r2], r6w
RET
; skip-block, i.e. just write all zeroes