From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from ffbox0-bg.ffmpeg.org (ffbox0-bg.ffmpeg.org [79.124.17.100]) by master.gitmailbox.com (Postfix) with ESMTPS id A08784D85E for ; Mon, 2 Jun 2025 10:50:15 +0000 (UTC) Received: from [127.0.1.1] (localhost [127.0.0.1]) by ffbox0-bg.ffmpeg.org (Postfix) with ESMTP id 261C668DA3A; Mon, 2 Jun 2025 13:50:13 +0300 (EEST) Received: from fanzine2.igalia.com (fanzine2.igalia.com [213.97.179.56]) by ffbox0-bg.ffmpeg.org (Postfix) with ESMTPS id 24FA968DCD2 for ; Mon, 2 Jun 2025 13:50:02 +0300 (EEST) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=igalia.com; s=20170329; h=Content-Transfer-Encoding:MIME-Version:Message-ID:Date:Subject: Cc:To:From:Sender:Reply-To:Content-Type:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: In-Reply-To:References:List-Id:List-Help:List-Unsubscribe:List-Subscribe: List-Post:List-Owner:List-Archive; bh=rS5NqTARPZ3yQgg8God6zhGjE9zx5O9Jn8/D0w1uBBw=; b=kRLEMQQ/1zMCGA0f0fr55TKQnC 8894Zt3ybJmV0K3jij3Fwswyz8WDa0ylVMDTGntapRa0NIWEr6vEFNaZOQXcygzbBBd8A3zLvg73Y bIub8GKQbFkSJJD8NIYAIvW8GhuGZSAWRa8Gz9K0/hYMtiBiRIjQnppswTAx4gHNmf2NdFeEF6FgQ kAa0us6uGJAmMKuUmxiH1qTnhhglMdLBChipzdpA5u+mSiiDbWnrGrT/LPmuZfYKlCasNntZaamWm snR/9djIISernDvfHGIIrjrY62uHW7suhcPrleRo6r33fO5O92kCI2RIpUJLtKMxLaHM0Lm3yAhxZ vC0aPQiA==; Received: from din-49-196-231-77.ipcom.comunitel.net ([77.231.196.49] helo=octavia) by fanzine2.igalia.com with esmtpsa (Cipher TLS1.3:ECDHE_SECP256R1__RSA_PSS_RSAE_SHA256__AES_256_GCM:256) (Exim) id 1uM2jx-00GFNs-47; Mon, 02 Jun 2025 12:50:01 +0200 Received: from vjaquez by octavia with local (Exim 4.98.2) (envelope-from ) id 1uM2jw-0000000Fla1-2PKT; Mon, 02 Jun 2025 12:50:00 +0200 From: =?UTF-8?q?V=C3=ADctor=20Manuel=20J=C3=A1quez=20Leal?= To: ffmpeg-devel@ffmpeg.org Date: Mon, 2 Jun 2025 12:50:00 +0200 Message-ID: <20250602105000.3757810-1-vjaquez@igalia.com> X-Mailer: git-send-email 2.47.2 MIME-Version: 1.0 Subject: [FFmpeg-devel] [PATCH] fftools/graph/graphprint: Remove redundant avio_flush() 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 Cc: "softworkz ." , Andreas Rheinhardt Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: ffmpeg-devel-bounces@ffmpeg.org Sender: "ffmpeg-devel" Archived-At: List-Archive: List-Post: From: Andreas Rheinhardt The AVIOContext will be automatically flushed upon closure. Reviewed-by: softworkz . Signed-off-by: Andreas Rheinhardt --- fftools/graph/graphprint.c | 1 - 1 file changed, 1 deletion(-) diff --git a/fftools/graph/graphprint.c b/fftools/graph/graphprint.c index 7f0e85d008..e4c6886cf8 100644 --- a/fftools/graph/graphprint.c +++ b/fftools/graph/graphprint.c @@ -1070,7 +1070,6 @@ static int print_filtergraphs_priv(FilterGraph **graphs, int nb_graphs, InputFil } avio_write(avio, (const unsigned char *)target_buf.str, FFMIN(target_buf.len, target_buf.size - 1)); - avio_flush(avio); if ((ret = avio_closep(&avio)) < 0) av_log(NULL, AV_LOG_ERROR, "Error closing graph output file, loss of information possible: %s\n", av_err2str(ret)); -- 2.47.2 _______________________________________________ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-devel To unsubscribe, visit link above, or email ffmpeg-devel-request@ffmpeg.org with subject "unsubscribe".