From patchwork Wed Apr 29 15:14:15 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lance Wang X-Patchwork-Id: 19375 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 19F8844AEFB for ; Wed, 29 Apr 2020 18:14:36 +0300 (EEST) Received: from [127.0.1.1] (localhost [127.0.0.1]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTP id EFF0B68BDC6; Wed, 29 Apr 2020 18:14:35 +0300 (EEST) X-Original-To: ffmpeg-devel@ffmpeg.org Delivered-To: ffmpeg-devel@ffmpeg.org Received: from mail-pl1-f196.google.com (mail-pl1-f196.google.com [209.85.214.196]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTPS id 52AD568B994 for ; Wed, 29 Apr 2020 18:14:28 +0300 (EEST) Received: by mail-pl1-f196.google.com with SMTP id h11so929298plr.11 for ; Wed, 29 Apr 2020 08:14:28 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=hGltd8ZlPHnrOld0wggPo83xC+9XBWIGZei8yvUjlm0=; b=bDK7MeXHRxQ1KHPu4TYMswBSb1YKyFs99nWxAsDOLD/z3lHJpxVNtIF5iyzyla44zh LlMi/cDZSDGBPNXFP8VyNu1XpX8GQqbkGfyzyDPqSQrHfmftvHtgDcnpS7RdvLpNN5m7 ihz+KBjR1A9UkMzKu+8WWnOW26QJeDZTmTt1LaR0oO/9q9L4BcmfNXQGXDys04axVoVe n1JR+nsHmaRs7iKBL2zUM491F5cMFd1ilCDHP8wkBgJV9JwkTvSC6eWj1bPE0wBGH9V8 ylJVA5xFjA8UjTFmbmO4WZF4Gj7pp5VB2CqRy6QFzQLpNytWDEVv5C0nNGG6kIxmK1pM UTvA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=hGltd8ZlPHnrOld0wggPo83xC+9XBWIGZei8yvUjlm0=; b=Vi8Wf9+8wkXSvx5Km/KihcyJnIYUrChrw+LyXF2KeKo4XxlLqN+31ES2CuSHCHlKSF duEruSz51h9LMiVGmWLUck3V66Pg7LOvrYW58OkJ5wFsFpoR0Vdd76fhQ1RBndmoyBEF qBDbpaTNx2sYx6+5fnmEW7kKzGRl02Er6VWGXuz95s81oGhzS0CbDAxOW15auFWgrmgY T3mHPBr3H5z9lvIUFUQSwzNXCoOhacuHXbxEhUWmm+HrQAwD9jxzbsTy89n30NrSgTNe v2AXz9UOMbGAXPEbsJ2+cIIxYZjtOzt8UzIw2lFJcZiLmzM7laIFCaSUmWOR5YDXzaiZ yGJw== X-Gm-Message-State: AGi0Puak+H7LcTZJSLckwTTgEFexgBRsiyDUia7gnzmHJrF5OYqRBIKc 0ZbFEkgv9HuvUQ8L4Owg9GVFLych X-Google-Smtp-Source: APiQypLcaCqupIM6fyBCY8e/9JQixxZWzo5esqVdSmPpPV4Uvf/jFuXfzKuY89xlHN6M8hrN/ayRuw== X-Received: by 2002:a17:902:bb97:: with SMTP id m23mr11471019pls.253.1588173266426; Wed, 29 Apr 2020 08:14:26 -0700 (PDT) Received: from vpn2.localdomain ([161.117.202.209]) by smtp.gmail.com with ESMTPSA id t12sm1243688pgm.37.2020.04.29.08.14.25 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Wed, 29 Apr 2020 08:14:25 -0700 (PDT) From: lance.lmwang@gmail.com To: ffmpeg-devel@ffmpeg.org Date: Wed, 29 Apr 2020 23:14:15 +0800 Message-Id: <1588173257-14531-3-git-send-email-lance.lmwang@gmail.com> X-Mailer: git-send-email 1.8.3.1 In-Reply-To: <1588173257-14531-1-git-send-email-lance.lmwang@gmail.com> References: <1588173257-14531-1-git-send-email-lance.lmwang@gmail.com> Subject: [FFmpeg-devel] [PATCH 3/5] avformat/matroskaenc: reindent after the previous commit 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 Cc: Limin Wang MIME-Version: 1.0 Errors-To: ffmpeg-devel-bounces@ffmpeg.org Sender: "ffmpeg-devel" From: Limin Wang Signed-off-by: Limin Wang --- libavformat/matroskaenc.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/libavformat/matroskaenc.c b/libavformat/matroskaenc.c index f0474da44f..41446c3825 100644 --- a/libavformat/matroskaenc.c +++ b/libavformat/matroskaenc.c @@ -375,12 +375,12 @@ static void end_ebml_master_crc32(AVIOContext *pb, AVIOContext **dyn_cp, if (mkv->write_crc) { skip = 6; /* Skip reserved 6-byte long void element from the dynamic buffer. */ if (size > skip) { - AV_WL32(crc, av_crc(av_crc_get_table(AV_CRC_32_IEEE_LE), UINT32_MAX, buf + skip, size - skip) ^ UINT32_MAX); - put_ebml_binary(pb, EBML_ID_CRC32, crc, sizeof(crc)); + AV_WL32(crc, av_crc(av_crc_get_table(AV_CRC_32_IEEE_LE), UINT32_MAX, buf + skip, size - skip) ^ UINT32_MAX); + put_ebml_binary(pb, EBML_ID_CRC32, crc, sizeof(crc)); } } if (size > skip) - avio_write(pb, buf + skip, size - skip); + avio_write(pb, buf + skip, size - skip); if (keep_buffer) { ffio_reset_dyn_buf(*dyn_cp);