From patchwork Sat Sep 26 10:28:02 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Andreas Rheinhardt X-Patchwork-Id: 22615 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 89E3D44A10F for ; Sat, 26 Sep 2020 13:30:24 +0300 (EEST) Received: from [127.0.1.1] (localhost [127.0.0.1]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTP id 6429A68B825; Sat, 26 Sep 2020 13:30:24 +0300 (EEST) X-Original-To: ffmpeg-devel@ffmpeg.org Delivered-To: ffmpeg-devel@ffmpeg.org Received: from mail-wr1-f66.google.com (mail-wr1-f66.google.com [209.85.221.66]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTPS id 2B1E168B79A for ; Sat, 26 Sep 2020 13:30:19 +0300 (EEST) Received: by mail-wr1-f66.google.com with SMTP id g4so6628082wrs.5 for ; Sat, 26 Sep 2020 03:30:19 -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 :mime-version:content-transfer-encoding; bh=ycM8hxX8wfr/0DxfwcgMPgYto11tYSaDU7qaE+bK8RQ=; b=mLKPTOlz3U0bm45XUkcsvitjIWgGG9wRTxkVxQxTFJr6wDzD2nYEj9SPY66CgfYUg0 YN9PR8v12OM2Ztep/j2Y9hFGxUAV9YzsZquNa1WiwVjfv4Qxq/epAzz9xWQ0S1bkaIMd Ip7PrfUnQLRXc8gBR6IpoKv8OP54rf4n8I9Ltofeih9TzmyVKcVHmvoBvpY1CwJrJRUc fvGqCQFUEN1TTr9BhFi0ndm0uYsoDnST36XMLqL0Y+yHaDMCqjzzN++7cBoiaCdwbdrO CuqQF7giKkQ9qdyMNoKsgInuXLfpppH3S3AUkTwslu6RsyU1/Ud0Nwk7vaY4JcLMIM3e Sl+g== 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:mime-version:content-transfer-encoding; bh=ycM8hxX8wfr/0DxfwcgMPgYto11tYSaDU7qaE+bK8RQ=; b=k225/+Z40qFxb/Uqq0TtC7ha7pU/Gm3/ZXObzNJ/Zx57Eng/gaGMshrp0ApCBkDXKv MtAa/uh28a34VyGCuZriuvbKPXwFgg80/Zb7onmHcVaR2a/2Bjpo3pX3E9kPqK36YA6k vTtud6lqlwEUA6LLd7W+7aa40BqoarEJO6KRAFitYDyDn7MqQsLZzodpttAP2A/tA3aI RZWYB7sjhrR9rx69Y7r1p1XEz9M/Pku76d4aB35Lakt/Mygo+BGaJ5cUy+VAYK4AUfQv HbZPtUq44OrqLWbxyENwNxOeuYPqmRYC8x+qvhMaHp0EAMqWFswhMHngI0Yr2ZZhDaU2 tPew== X-Gm-Message-State: AOAM533942LrrPVwtGES/7zyhuUGYukBu0ENbzkGZcGtffLRmfnWokA3 mouDKNPJgoznVK3cKkrIvDWaSjOyBWg= X-Google-Smtp-Source: ABdhPJx5Ph94G2wvFp2HuZNwoz/SZ4qs20sFK368xQVOrdVHJORdR5BuLlpfEFIqAY0tgfyBrwSf2Q== X-Received: by 2002:adf:dd82:: with SMTP id x2mr9500815wrl.419.1601116218331; Sat, 26 Sep 2020 03:30:18 -0700 (PDT) Received: from sblaptop.fritz.box (ipbcc1aa4b.dynamic.kabel-deutschland.de. [188.193.170.75]) by smtp.gmail.com with ESMTPSA id k8sm6064867wrl.42.2020.09.26.03.30.17 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 26 Sep 2020 03:30:17 -0700 (PDT) From: Andreas Rheinhardt To: ffmpeg-devel@ffmpeg.org Date: Sat, 26 Sep 2020 12:28:02 +0200 Message-Id: <20200926102804.228089-23-andreas.rheinhardt@gmail.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20200926102804.228089-1-andreas.rheinhardt@gmail.com> References: <20200926102804.228089-1-andreas.rheinhardt@gmail.com> MIME-Version: 1.0 Subject: [FFmpeg-devel] [PATCH 23/25] avcodec/utils: Reindentation 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: Andreas Rheinhardt Errors-To: ffmpeg-devel-bounces@ffmpeg.org Sender: "ffmpeg-devel" Signed-off-by: Andreas Rheinhardt --- libavcodec/utils.c | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/libavcodec/utils.c b/libavcodec/utils.c index a976ceb260..af2a4c2a88 100644 --- a/libavcodec/utils.c +++ b/libavcodec/utils.c @@ -1037,7 +1037,7 @@ free_and_end: if (av_codec_is_encoder(avctx->codec)) { #if FF_API_CODED_FRAME FF_DISABLE_DEPRECATION_WARNINGS - av_frame_free(&avctx->coded_frame); + av_frame_free(&avctx->coded_frame); FF_ENABLE_DEPRECATION_WARNINGS #endif av_freep(&avctx->extradata); @@ -1048,18 +1048,18 @@ FF_ENABLE_DEPRECATION_WARNINGS av_freep(&avctx->priv_data); av_freep(&avctx->subtitle_header); - av_frame_free(&avci->to_free); - av_frame_free(&avci->compat_decode_frame); - av_frame_free(&avci->buffer_frame); - av_packet_free(&avci->compat_encode_packet); - av_packet_free(&avci->buffer_pkt); - av_packet_free(&avci->last_pkt_props); + av_frame_free(&avci->to_free); + av_frame_free(&avci->compat_decode_frame); + av_frame_free(&avci->buffer_frame); + av_packet_free(&avci->compat_encode_packet); + av_packet_free(&avci->buffer_pkt); + av_packet_free(&avci->last_pkt_props); - av_packet_free(&avci->ds.in_pkt); - av_frame_free(&avci->es.in_frame); - av_bsf_free(&avci->bsf); + av_packet_free(&avci->ds.in_pkt); + av_frame_free(&avci->es.in_frame); + av_bsf_free(&avci->bsf); - av_buffer_unref(&avci->pool); + av_buffer_unref(&avci->pool); av_freep(&avci); avctx->internal = NULL; avctx->codec = NULL;