OSDN Git Service
(root)
/
android-x86
/
external-ffmpeg.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
da4f8c8
)
x86: videodsp: Add parentheses to expression to work around warning
author
Diego Biurrun
<diego@biurrun.de>
Thu, 17 Mar 2016 10:35:13 +0000
(11:35 +0100)
committer
Diego Biurrun
<diego@biurrun.de>
Wed, 19 Oct 2016 08:13:34 +0000
(10:13 +0200)
libavcodec/x86/videodsp.asm:128: warning: signed dword value exceeds bounds
libavcodec/x86/videodsp.asm
patch
|
blob
|
history
diff --git
a/libavcodec/x86/videodsp.asm
b/libavcodec/x86/videodsp.asm
index
53b9e82
..
b22e0fe
100644
(file)
--- 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