diff options
author | Diego Biurrun <diego@biurrun.de> | 2016-03-17 11:35:13 +0100 |
---|---|---|
committer | Diego Biurrun <diego@biurrun.de> | 2016-10-19 10:13:34 +0200 |
commit | b89804da9bad2d94dd95bf20ac6187447e9c17e9 (patch) | |
tree | 772e8e3ca667d932573fe3531f3fea2cd94fe0e4 /libavcodec/x86 | |
parent | da4f8c8e35a867f2d9fed0fb75e16c81ab968637 (diff) | |
download | ffmpeg-b89804da9bad2d94dd95bf20ac6187447e9c17e9.tar.gz |
x86: videodsp: Add parentheses to expression to work around warning
libavcodec/x86/videodsp.asm:128: warning: signed dword value exceeds bounds
Diffstat (limited to 'libavcodec/x86')
-rw-r--r-- | libavcodec/x86/videodsp.asm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/x86/videodsp.asm b/libavcodec/x86/videodsp.asm index 53b9e8292c..b22e0fec8b 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 |