[FFmpeg-cvslog] x86: videodsp: Add parentheses to expression to work around warning
Diego Biurrun
git at videolan.org
Thu Mar 23 23:36:28 EET 2017
ffmpeg | branch: master | Diego Biurrun <diego at biurrun.de> | Thu Mar 17 11:35:13 2016 +0100| [b89804da9bad2d94dd95bf20ac6187447e9c17e9] | committer: Diego Biurrun
x86: videodsp: Add parentheses to expression to work around warning
libavcodec/x86/videodsp.asm:128: warning: signed dword value exceeds bounds
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=b89804da9bad2d94dd95bf20ac6187447e9c17e9
---
libavcodec/x86/videodsp.asm | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/libavcodec/x86/videodsp.asm b/libavcodec/x86/videodsp.asm
index 53b9e82..b22e0fe 100644
--- a/libavcodec/x86/videodsp.asm
+++ b/libavcodec/x86/videodsp.asm
@@ -110,7 +110,7 @@ cglobal emu_edge_hvar, 5, 6, 1, dst, dst_stride, start_x, n_words, h, w
.x_loop: ; do {
movu [dstq+wq*2], m0 ; write($reg, $mmsize)
add wq, mmsize/2 ; w -= $mmsize/2
- cmp wq, -mmsize/2 ; } while (w > $mmsize/2)
+ cmp wq, -(mmsize/2) ; } while (w > $mmsize/2)
jl .x_loop
movu [dstq-mmsize], m0 ; write($reg, $mmsize)
add dstq, dst_strideq ; dst += dst_stride
More information about the ffmpeg-cvslog
mailing list