From patchwork Fri Sep 29 22:58:29 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Michael Niedermayer X-Patchwork-Id: 5345 Delivered-To: ffmpegpatchwork@gmail.com Received: by 10.2.61.197 with SMTP id n188csp1308038jan; Fri, 29 Sep 2017 15:58:57 -0700 (PDT) X-Google-Smtp-Source: AOwi7QC6i434sRhtUpazLahvdZ4ZOgMsu4h8k7VvJv/Q17GYkhSz57I6FZGUdiVgHs6qdQJrLplZ X-Received: by 10.223.153.45 with SMTP id x42mr4346366wrb.212.1506725937700; Fri, 29 Sep 2017 15:58:57 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1506725937; cv=none; d=google.com; s=arc-20160816; b=IbQBEaMZF6M8RVhbBjPPaSiJVP19VqiQJhlmhY6Zmz67OpfqaqN3mNMaEnsFbNNnJI 5aWe8v/4ib5MrTA7v0ZzSkLsDWZKmuGRqzQ8SiGeX73yoSYETYo7wlwhuDk+UtYtkh/c Aza7ztFgtCI4L7LD5rBFJqr4zq4D3f4YY6K2wQfTu7ych/3203RCLn3acvrPvUSHWVMd vM7wMPURJFtmGLUuikgUxZ0Amtm3aprz3zyrOn3NjrXcVfQmi6N4+PcmsiWARiajXWPT 2FjRv7DXJeHzwF+NYUfyoavaUkeNGQG06ng7iAk+F7s4cDyDgxPpOUz/LE2f0znepoEd JvzA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:content-transfer-encoding:mime-version:reply-to :list-subscribe:list-help:list-post:list-archive:list-unsubscribe :list-id:precedence:subject:references:in-reply-to:message-id:date :to:from:delivered-to:arc-authentication-results; bh=H26m8e/BxgdOHmE6nSlcFUN2vo30/2s0wtHOklVdw4o=; b=GkezRleAXflUOssJyhDrxC/Q2vuWpf3pxq8xyAgpe2rQOxwZNJefrKBgCFPAUPbz/f eBL1rr8/tgxvDdhAYNA7ZEt1DgynjRrzw4pKuQA3VHTrSSg8gd4mlyKRtY+ezOtMcZnv nwdVQDXmqmT6eHZ7M+TUR8tJSWqo//H0TRLN6O+Pf1E/ziKZQIcLJhzeXYyGgACvnTNM gHoeaXZGAp3ouDksim7dp+qjhsv1uhu+D33uoLLCoJf32DWIRvAd+IgC8AQb5nhGovb6 jchtu8UlePM/bynDlBHg6bUFXAFvS6TOr04MLRNDhFwsWePOSHJCijWse8aCAcS9Edd4 LuyQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of ffmpeg-devel-bounces@ffmpeg.org designates 79.124.17.100 as permitted sender) smtp.mailfrom=ffmpeg-devel-bounces@ffmpeg.org Return-Path: Received: from ffbox0-bg.mplayerhq.hu (ffbox0-bg.ffmpeg.org. [79.124.17.100]) by mx.google.com with ESMTP id b203si3643380wmc.268.2017.09.29.15.58.57; Fri, 29 Sep 2017 15:58:57 -0700 (PDT) Received-SPF: pass (google.com: domain of ffmpeg-devel-bounces@ffmpeg.org designates 79.124.17.100 as permitted sender) client-ip=79.124.17.100; Authentication-Results: mx.google.com; spf=pass (google.com: domain of ffmpeg-devel-bounces@ffmpeg.org designates 79.124.17.100 as permitted sender) smtp.mailfrom=ffmpeg-devel-bounces@ffmpeg.org Received: from [127.0.1.1] (localhost [127.0.0.1]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTP id E10FA689A11; Sat, 30 Sep 2017 01:58:34 +0300 (EEST) X-Original-To: ffmpeg-devel@ffmpeg.org Delivered-To: ffmpeg-devel@ffmpeg.org Received: from vie01a-dmta-pe02-2.mx.upcmail.net (vie01a-dmta-pe02-2.mx.upcmail.net [62.179.121.158]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTPS id 5BB166897C1 for ; Sat, 30 Sep 2017 01:58:28 +0300 (EEST) Received: from [172.31.216.43] (helo=vie01a-pemc-psmtp-pe01) by vie01a-dmta-pe02.mx.upcmail.net with esmtp (Exim 4.88) (envelope-from ) id 1dy4Ez-0005SR-Ef for ffmpeg-devel@ffmpeg.org; Sat, 30 Sep 2017 00:58:41 +0200 Received: from localhost ([213.47.41.20]) by vie01a-pemc-psmtp-pe01 with SMTP @ mailcloud.upcmail.net id FayZ1w00g0S5wYM01aya7a; Sat, 30 Sep 2017 00:58:34 +0200 X-SourceIP: 213.47.41.20 From: Michael Niedermayer To: FFmpeg development discussions and patches Date: Sat, 30 Sep 2017 00:58:29 +0200 Message-Id: <20170929225829.2890-3-michael@niedermayer.cc> X-Mailer: git-send-email 2.14.2 In-Reply-To: <20170929225829.2890-1-michael@niedermayer.cc> References: <20170929225829.2890-1-michael@niedermayer.cc> Subject: [FFmpeg-devel] [PATCH 3/3] avcodec/x86/lossless_videoencdsp: Fix warning: signed dword value exceeds bounds X-BeenThere: ffmpeg-devel@ffmpeg.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: FFmpeg development discussions and patches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: FFmpeg development discussions and patches MIME-Version: 1.0 Errors-To: ffmpeg-devel-bounces@ffmpeg.org Sender: "ffmpeg-devel" Signed-off-by: Michael Niedermayer --- 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