From patchwork Fri Oct 14 10:15:41 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Anton Khirnov X-Patchwork-Id: 38730 Delivered-To: ffmpegpatchwork2@gmail.com Received: by 2002:a05:6a20:4a86:b0:9d:28a3:170e with SMTP id fn6csp244212pzb; Fri, 14 Oct 2022 03:18:36 -0700 (PDT) X-Google-Smtp-Source: AMsMyM6R/fpSjLDthwvrBNKStfhX8oi+1mXSCQUL2WHH4u02jn6vmGR5shl6Q3JJX1hH5Wt9juYk X-Received: by 2002:a05:6402:34d6:b0:45c:ccee:ca94 with SMTP id w22-20020a05640234d600b0045ccceeca94mr3649700edc.342.1665742716323; Fri, 14 Oct 2022 03:18:36 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1665742716; cv=none; d=google.com; s=arc-20160816; b=mexFHuGXFwGfYuFlEz6SxbmKqpYBzkJOuAZtLZMoauXv/WaqCPDZV8TVjVcNAJwFp6 s7YuTMT0R5OfifA/VoBqsab3J3trxKqkAyqbwileBhTneGk2utYf0rROZ8cJCN/BTN+k 21YmdIosWDGf5o106YNlT9Cj5+5Q98fLyBc8l6GDsVWr0/3//rh0GHFp8RnmQVsncYQL A1FGVdOciza/edo5C0AGJCq2Jo2Im2jkoSypFW0azPE4Z6WlJ2PRS/40kMB7+PGS/4nw je/HbewpZpsv/HCWpT5k/apm4Rk66Hd/kic1sT6lmLRp/IUpjzzp32byFdQoEcB7Aya3 wuiw== 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=W6/q3tCM8t0+X+kV7KR9hJ2m73PvogdExmRyDfCtsgA=; b=wAUu1DBXaqLDhLOrrAfyeabtolQAPAxT+FJn7KNPOaMaoGn+MVYJvY9eBESPEkiOLo 4KMimhoaFapKBxyrTnODIv06C+cG11wa6A/MhTQoIu6TV+ur0bwb544THvLXVtwxZ86v sMkRELgwhCjBt/K+VQQooYUqvPn+21IHRUF3OIdyQEDxOOceLplCdwnEk3Q7Szax/Raq W4QZ2Xer5gOzaElBx21lAcXADfzm05EpknQq2B69fPsUkgePuY4wkpH7iUcEvS4u5bWG DmMzDzKLmjsz3EJqLMlcsywBMcyKKkyEoYe/YEwUlzQT/SlbCEwT0kc0MYJZ6p0wUP0S 5Lzg== 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 hq29-20020a1709073f1d00b0078da30cb4bfsi2070583ejc.428.2022.10.14.03.18.36; Fri, 14 Oct 2022 03:18:36 -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 F37B568BD8E; Fri, 14 Oct 2022 13:18:32 +0300 (EEST) 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 AD1FF68BD71 for ; Fri, 14 Oct 2022 13:18:25 +0300 (EEST) Received: from localhost (localhost [IPv6:::1]) by mail0.khirnov.net (Postfix) with ESMTP id 6B61E2406CA for ; Fri, 14 Oct 2022 12:18:25 +0200 (CEST) Received: from mail0.khirnov.net ([IPv6:::1]) by localhost (mail0.khirnov.net [IPv6:::1]) (amavisd-new, port 10024) with ESMTP id AftGtwZfT6MS for ; Fri, 14 Oct 2022 12:18:24 +0200 (CEST) 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 D4BA72400F4 for ; Fri, 14 Oct 2022 12:18:24 +0200 (CEST) Received: from libav.khirnov.net (libav.khirnov.net [IPv6:::1]) by libav.khirnov.net (Postfix) with ESMTP id 0E6313A0922 for ; Fri, 14 Oct 2022 12:18:24 +0200 (CEST) From: Anton Khirnov To: ffmpeg-devel@ffmpeg.org Date: Fri, 14 Oct 2022 12:15:41 +0200 Message-Id: <20221014101548.3486-2-anton@khirnov.net> X-Mailer: git-send-email 2.35.1 In-Reply-To: <20221014101548.3486-1-anton@khirnov.net> References: <20221013134904.10104-1-anton@khirnov.net> <20221014101548.3486-1-anton@khirnov.net> MIME-Version: 1.0 Subject: [FFmpeg-devel] [PATCH 15/22] fftools/ffmpeg: reindent after previous commit 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: mhl9O6Sq0LkK --- fftools/ffmpeg.c | 34 +++++++++++++++++----------------- 1 file changed, 17 insertions(+), 17 deletions(-) diff --git a/fftools/ffmpeg.c b/fftools/ffmpeg.c index afbfff6ba2..f426dbc80f 100644 --- a/fftools/ffmpeg.c +++ b/fftools/ffmpeg.c @@ -511,30 +511,30 @@ static void ost_free(OutputStream **post) if (!ost) return; - av_bsf_free(&ost->bsf_ctx); + av_bsf_free(&ost->bsf_ctx); - av_frame_free(&ost->filtered_frame); - av_frame_free(&ost->sq_frame); - av_frame_free(&ost->last_frame); - av_packet_free(&ost->pkt); - av_dict_free(&ost->encoder_opts); + av_frame_free(&ost->filtered_frame); + av_frame_free(&ost->sq_frame); + av_frame_free(&ost->last_frame); + av_packet_free(&ost->pkt); + av_dict_free(&ost->encoder_opts); - av_freep(&ost->forced_keyframes); - av_expr_free(ost->forced_keyframes_pexpr); - av_freep(&ost->avfilter); - av_freep(&ost->logfile_prefix); + av_freep(&ost->forced_keyframes); + av_expr_free(ost->forced_keyframes_pexpr); + av_freep(&ost->avfilter); + av_freep(&ost->logfile_prefix); #if FFMPEG_OPT_MAP_CHANNEL - av_freep(&ost->audio_channels_map); - ost->audio_channels_mapped = 0; + av_freep(&ost->audio_channels_map); + ost->audio_channels_mapped = 0; #endif - av_dict_free(&ost->sws_dict); - av_dict_free(&ost->swr_opts); + av_dict_free(&ost->sws_dict); + av_dict_free(&ost->swr_opts); - if (ost->enc_ctx) - av_freep(&ost->enc_ctx->stats_in); - avcodec_free_context(&ost->enc_ctx); + if (ost->enc_ctx) + av_freep(&ost->enc_ctx->stats_in); + avcodec_free_context(&ost->enc_ctx); av_freep(post); }