From patchwork Tue Feb 28 12:00:59 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Anton Khirnov X-Patchwork-Id: 40543 Delivered-To: ffmpegpatchwork2@gmail.com Received: by 2002:a05:6a20:d046:b0:cd:afd7:272c with SMTP id hv6csp1540389pzb; Tue, 28 Feb 2023 04:01:53 -0800 (PST) X-Google-Smtp-Source: AK7set80SJOsJgukM0GnedwsctiCVJvh6AHzLxtX3i3d5RhG23OHKVYTzyAPZhUbY7b5+/JusMHN X-Received: by 2002:a05:6402:205c:b0:4ab:553:75d8 with SMTP id bc28-20020a056402205c00b004ab055375d8mr2951990edb.10.1677585713053; Tue, 28 Feb 2023 04:01:53 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1677585713; cv=none; d=google.com; s=arc-20160816; b=Cgz8P9Y+bttojeMXmN0hY3Aew44YpOMiHyP55U+t1s+YTVjx7rYOz48PpW11+TFzmH nxmdkJXYaowaqK8/s3uI6eEk0GqzwDeAqiGw9Bre5iLZlIqCyGbveHV2R0bv91DY1g+l BJHWN/MqVfWyNA0VEqG+3JwGk1YxoOzxDNee9dSqYwLGCOe76bwWtBrAEJPAZRswBgOA BDuyOJfwS4WIXsCacWjPSAZGXaViQOoJeYHwOPggxPM69ER5iKjFBhVMHc4hwXp9lJy9 7sRZdPTP0V20YMm2sDhgnrUWg55zBFHRVQ6XR8ZHwYBFmgdok24yFOsKL713l36zLEU+ zlsw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:content-transfer-encoding:reply-to:list-subscribe :list-help:list-post:list-archive:list-unsubscribe:list-id :precedence:subject:mime-version:references:in-reply-to:message-id :date:to:from:delivered-to; bh=OqLlP8ji0DIG1l/4ZLU9FEvo7B0Z9QfWKXGCmE+I3js=; b=jpVmsVF5rQPVlP1jJCRVVaBD5v2/2YzN1yZTlUbrffIeiASJkn6XM0+aqG8B+rUqxn hFFkl5OqAec1LnsARNV8U/Fvt0n3XmPqcYP+cvw81BICNDtyrFsCMqPk4KSX6toaYK2y ml5M5ipTTA1QRU0i4vxCGZz+Gl0b62PcWB9NE4CkxJW0oH1XlcE9IHc4X8oDSWbV4w4I LohI8/SqhS5UfOeHWE5dCJNrtllXH4guVuj0dP6VIYsGi+QDF7vtKnNrq4Mj/pBRiqFd OxdeAzMJtY/3w982aus/EliCywhTkw+yEZv4GsjpYNm6w34KoOOHZIrzRQdNTjfqxzvV FP/g== 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 r19-20020aa7c153000000b00499c322d3b9si11458353edp.377.2023.02.28.04.01.52; Tue, 28 Feb 2023 04:01:53 -0800 (PST) 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 BE55B68A92B; Tue, 28 Feb 2023 14:01:30 +0200 (EET) X-Original-To: ffmpeg-devel@ffmpeg.org Delivered-To: ffmpeg-devel@ffmpeg.org Received: from mail0.khirnov.net (red.khirnov.net [176.97.15.12]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTPS id 514ED6809C7 for ; Tue, 28 Feb 2023 14:01:23 +0200 (EET) Received: from localhost (localhost [IPv6:::1]) by mail0.khirnov.net (Postfix) with ESMTP id EEC652404EE for ; Tue, 28 Feb 2023 13:01:22 +0100 (CET) Received: from mail0.khirnov.net ([IPv6:::1]) by localhost (mail0.khirnov.net [IPv6:::1]) (amavisd-new, port 10024) with ESMTP id f1lWT6tE8W78 for ; Tue, 28 Feb 2023 13:01:20 +0100 (CET) Received: from libav.khirnov.net (libav.khirnov.net [IPv6:2a00:c500:561:201::7]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "libav.khirnov.net", Issuer "smtp.khirnov.net SMTP CA" (verified OK)) by mail0.khirnov.net (Postfix) with ESMTPS id B84BB2404F5 for ; Tue, 28 Feb 2023 13:01:20 +0100 (CET) Received: from libav.khirnov.net (libav.khirnov.net [IPv6:::1]) by libav.khirnov.net (Postfix) with ESMTP id 3C9633A0376 for ; Tue, 28 Feb 2023 13:01:14 +0100 (CET) From: Anton Khirnov To: ffmpeg-devel@ffmpeg.org Date: Tue, 28 Feb 2023 13:00:59 +0100 Message-Id: <20230228120104.2347-3-anton@khirnov.net> X-Mailer: git-send-email 2.39.1 In-Reply-To: <20230228120104.2347-1-anton@khirnov.net> References: <20230228120104.2347-1-anton@khirnov.net> MIME-Version: 1.0 Subject: [FFmpeg-devel] [PATCH 3/8] lavc/libvpxenc: reindent X-BeenThere: ffmpeg-devel@ffmpeg.org X-Mailman-Version: 2.1.29 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" X-TUID: CtqSTsSQVQgo --- libavcodec/libvpxenc.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/libavcodec/libvpxenc.c b/libavcodec/libvpxenc.c index eaa4ad8f25..abaa8c3513 100644 --- a/libavcodec/libvpxenc.c +++ b/libavcodec/libvpxenc.c @@ -1284,11 +1284,11 @@ static int storeframe(AVCodecContext *avctx, struct FrameListData *cx_frame, AV_WB64(side_data, 1); memcpy(side_data + 8, alpha_cx_frame->buf, alpha_cx_frame->sz); } - if (ctx->hdr10_plus_fifo) { - int err = copy_hdr10_plus_to_pkt(ctx->hdr10_plus_fifo, pkt); - if (err < 0) - return err; - } + if (ctx->hdr10_plus_fifo) { + int err = copy_hdr10_plus_to_pkt(ctx->hdr10_plus_fifo, pkt); + if (err < 0) + return err; + } return pkt->size; }