From patchwork Wed Oct 31 11:01:13 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Michael Niedermayer X-Patchwork-Id: 10865 Return-Path: X-Original-To: patchwork@ffaux-bg.ffmpeg.org Delivered-To: patchwork@ffaux-bg.ffmpeg.org Received: from ffbox0-bg.mplayerhq.hu (ffbox0-bg.ffmpeg.org [79.124.17.100]) by ffaux.localdomain (Postfix) with ESMTP id 3BD6E44C874 for ; Wed, 31 Oct 2018 13:03:46 +0200 (EET) Received: from [127.0.1.1] (localhost [127.0.0.1]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTP id A342368A831; Wed, 31 Oct 2018 13:03:17 +0200 (EET) X-Original-To: ffmpeg-devel@ffmpeg.org Delivered-To: ffmpeg-devel@ffmpeg.org Received: from vie01a-dmta-pe07-2.mx.upcmail.net (vie01a-dmta-pe07-2.mx.upcmail.net [84.116.36.18]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTPS id 5C6EB68A772 for ; Wed, 31 Oct 2018 13:03:11 +0200 (EET) Received: from [172.31.216.235] (helo=vie01a-pemc-psmtp-pe12.mail.upcmail.net) by vie01a-dmta-pe07.mx.upcmail.net with esmtp (Exim 4.88) (envelope-from ) id 1gHoHn-0000ik-0N for ffmpeg-devel@ffmpeg.org; Wed, 31 Oct 2018 12:03:43 +0100 Received: from localhost ([213.47.41.20]) by vie01a-pemc-psmtp-pe12.mail.upcmail.net with ESMTP id HoFhgQt4SkosQHoFhgjem9; Wed, 31 Oct 2018 12:01:33 +0100 X-Env-Mailfrom: michael@niedermayer.cc X-Env-Rcptto: ffmpeg-devel@ffmpeg.org X-SourceIP: 213.47.41.20 X-CNFS-Analysis: v=2.3 cv=NNQEBHyg c=1 sm=1 tr=0 a=I1eytVlZLDX1BM2VTtTtSw==:117 a=I1eytVlZLDX1BM2VTtTtSw==:17 a=MKtGQD3n3ToA:10 a=1oJP67jkp3AA:10 a=GEAsPZ9sns4A:10 a=ZZnuYtJkoWoA:10 a=FJXYqUl_Q1L7c6JCGp8A:9 From: Michael Niedermayer To: FFmpeg development discussions and patches Date: Wed, 31 Oct 2018 12:01:13 +0100 Message-Id: <20181031110115.31474-2-michael@niedermayer.cc> X-Mailer: git-send-email 2.19.1 In-Reply-To: <20181031110115.31474-1-michael@niedermayer.cc> References: <20181031110115.31474-1-michael@niedermayer.cc> MIME-Version: 1.0 X-CMAE-Envelope: MS4wfKb+YG00ZTUJNQ/mnJKwueZNwh9E1uVUREflr9DeM3nCxno3fn16o9VvielE5CRTDN0zG+DXY34iup1K69Wevo7WKjmF8XAR3T6+JDEnNkfh3RGcgL4R lA8Eee1rsOb855lyRLbxkCERkBUCa3G/QfmwgZebiqa2BbIb+USXIFB8 Subject: [FFmpeg-devel] [PATCH 2/4] avcodec/prosumer: Remove unneeded () 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 Errors-To: ffmpeg-devel-bounces@ffmpeg.org Sender: "ffmpeg-devel" Signed-off-by: Michael Niedermayer --- libavcodec/prosumer.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavcodec/prosumer.c b/libavcodec/prosumer.c index 2fd9880ee1..24905ac80f 100644 --- a/libavcodec/prosumer.c +++ b/libavcodec/prosumer.c @@ -59,7 +59,7 @@ static int decompress(GetByteContext *gb, int size, PutByteContext *pb, const ui while (1) { if (bytestream2_get_bytes_left_p(pb) <= 0 || bytestream2_get_eof(pb)) return 0; - if (((b & 0xFF00u) != 0x8000u) || (b & 0xFFu)) { + if ((b & 0xFF00u) != 0x8000u || (b & 0xFFu)) { if ((b & 0xFF00u) != 0x8000u) { bytestream2_put_le16(pb, b); } else if (b & 0xFFu) {