[FFmpeg-devel] [PATCH 3/3] avcodec/x86/lossless_videoencdsp: Fix warning: signed dword value exceeds bounds
Ronald S. Bultje
rsbultje at gmail.com
Sat Sep 30 15:50:57 EEST 2017
Hi,
On Fri, Sep 29, 2017 at 6:58 PM, Michael Niedermayer <michael at niedermayer.cc
> wrote:
> Signed-off-by: Michael Niedermayer <michael at niedermayer.cc>
> ---
> libavcodec/x86/lossless_videoencdsp.asm | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/libavcodec/x86/lossless_videoencdsp.asm
> b/libavcodec/x86/lossless_videoencdsp.asm
> index a9c7a0a73c..89f20dc4e2 100644
> --- a/libavcodec/x86/lossless_videoencdsp.asm
> +++ b/libavcodec/x86/lossless_videoencdsp.asm
> @@ -45,7 +45,7 @@ cglobal diff_bytes, 4,5,2, dst, src1, src2, w
> ; labels to jump to if w < regsize and w < 0
> %macro DIFF_BYTES_LOOP_PREP 2
> mov i, wq
> - and i, -2 * regsize
> + and i, -(2 * regsize)
> js %2
> jz %1
> add dstq, i
> --
> 2.14.2
OK.
(Is this a particular version of an assembler and maybe something that
should be reported upstream?)
Ronald
More information about the ffmpeg-devel
mailing list