diff options
author | James Almer <jamrial@gmail.com> | 2017-03-23 18:35:49 -0300 |
---|---|---|
committer | James Almer <jamrial@gmail.com> | 2017-03-23 18:35:49 -0300 |
commit | bac44a50206ec565068d6a9e3241742d33e02406 (patch) | |
tree | 5c4616683c7941eaf2bab7cb03594f344109b3d7 /libavcodec | |
parent | acf125f3336b38663b3694320518283227cee60a (diff) | |
parent | b89804da9bad2d94dd95bf20ac6187447e9c17e9 (diff) | |
download | ffmpeg-bac44a50206ec565068d6a9e3241742d33e02406.tar.gz |
Merge commit 'b89804da9bad2d94dd95bf20ac6187447e9c17e9'
* commit 'b89804da9bad2d94dd95bf20ac6187447e9c17e9':
x86: videodsp: Add parentheses to expression to work around warning
Merged-by: James Almer <jamrial@gmail.com>
Diffstat (limited to 'libavcodec')
-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 a807d3b888..e237860700 100644 --- a/libavcodec/x86/videodsp.asm +++ b/libavcodec/x86/videodsp.asm @@ -114,7 +114,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 |