You've already forked FFmpeg
mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-11-29 05:57:37 +02:00
avcodec/x86/lossless_videoencdsp: Fix warning: signed dword value exceeds bounds
Add () to regsize define
Suggested-by: Henrik Gramner <henrik@gramner.com>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
(cherry picked from commit 26ea142658)
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
This commit is contained in:
@@ -87,7 +87,7 @@ cglobal diff_bytes, 4,5,2, dst, src1, src2, w
|
|||||||
jz .end_%1%2
|
jz .end_%1%2
|
||||||
%if mmsize > 16
|
%if mmsize > 16
|
||||||
; fall back to narrower xmm
|
; fall back to narrower xmm
|
||||||
%define regsize mmsize / 2
|
%define regsize (mmsize / 2)
|
||||||
DIFF_BYTES_LOOP_PREP .setup_loop_gpr_aa, .end_aa
|
DIFF_BYTES_LOOP_PREP .setup_loop_gpr_aa, .end_aa
|
||||||
.loop2_%1%2:
|
.loop2_%1%2:
|
||||||
DIFF_BYTES_LOOP_CORE %1, %2, xm0, xm1
|
DIFF_BYTES_LOOP_CORE %1, %2, xm0, xm1
|
||||||
|
|||||||
Reference in New Issue
Block a user