Commit e1009665 authored by Michael Niedermayer's avatar Michael Niedermayer

avcodec/x86/h264_weight: handle weight1=128

Fix ticket4596
Signed-off-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parent 7c9fcdfa
......@@ -135,8 +135,11 @@ WEIGHT_FUNC_HALF_MM 8, 8
add off_regd, 1
or off_regd, 1
add r4, 1
cmp r6d, 128
je .nonnormal
cmp r5, 128
jne .normal
.nonnormal
sar r5, 1
sar r6, 1
sar off_regd, 1
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment