From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from ffbox0-bg.mplayerhq.hu (ffbox0-bg.ffmpeg.org [79.124.17.100]) by master.gitmailbox.com (Postfix) with ESMTP id 07FE14AF89 for ; Sat, 25 May 2024 11:18:42 +0000 (UTC) Received: from [127.0.1.1] (localhost [127.0.0.1]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTP id 76D7D68D565; Sat, 25 May 2024 14:18:26 +0300 (EEST) Received: from relay4-d.mail.gandi.net (relay4-d.mail.gandi.net [217.70.183.196]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTPS id ACEF268D517 for ; Sat, 25 May 2024 14:18:17 +0300 (EEST) Received: by mail.gandi.net (Postfix) with ESMTPSA id F2412E0003 for ; Sat, 25 May 2024 11:18:16 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=niedermayer.cc; s=gm1; t=1716635897; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=3or4bu861OThCKkjwrE3OO3vfG5anqdnSk3cqGSB2T8=; b=XcQBHJMOrzlu0dNpnk0kg1v9NSDSuj3EZO19Sblv7OAPDlGHWNoeoerByKQS6dOWTs4v2+ NE3UI9+tlLemf8Wf2FdXkJrUX86BnIaL6wAaDwwLcTzm5KVMF0xEUBf4hGIKnYH0Td3ZQ/ qK4SPvvkWw+8uRnI/CsmP7w1GevK5P/3Cd/DUfktGVVEnVAquhVx/cBvseNsUu3wDNAaph QEaVvceutYWvUn/aLMKD6cWfRa62zK9KJnuKR7VJRBjrLRDT/GoU9aWfWnk6lhpz1oyKou 29vs+uCBjDB7ETWnJHFqcrREqmCSQiZEImibelr1KRN5YGHThLnWCSieM2KOng== From: Michael Niedermayer To: FFmpeg development discussions and patches Date: Sat, 25 May 2024 13:18:14 +0200 Message-ID: <20240525111814.2587729-3-michael@niedermayer.cc> X-Mailer: git-send-email 2.45.1 In-Reply-To: <20240525111814.2587729-1-michael@niedermayer.cc> References: <20240525111814.2587729-1-michael@niedermayer.cc> MIME-Version: 1.0 X-GND-Sasl: michael@niedermayer.cc Subject: [FFmpeg-devel] [PATCH 3/3] avformat/hlsenc: Remove dead ret stores 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 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: Fixes: CID1529222 Unused value Sponsored-by: Sovereign Tech Fund Signed-off-by: Michael Niedermayer --- libavformat/hlsenc.c | 4 ---- 1 file changed, 4 deletions(-) diff --git a/libavformat/hlsenc.c b/libavformat/hlsenc.c index 0e2843c6bc5..8a43ef6232a 100644 --- a/libavformat/hlsenc.c +++ b/libavformat/hlsenc.c @@ -1582,8 +1582,6 @@ static int hls_window(AVFormatContext *s, int last, VariantStream *vs) ret = hlsenc_io_open(s, byterange_mode ? &hls->m3u8_out : &vs->out, temp_filename, &options); av_dict_free(&options); if (ret < 0) { - if (hls->ignore_io_errors) - ret = 0; goto fail; } @@ -1641,8 +1639,6 @@ static int hls_window(AVFormatContext *s, int last, VariantStream *vs) ret = hlsenc_io_open(s, &hls->sub_m3u8_out, temp_vtt_filename, &options); av_dict_free(&options); if (ret < 0) { - if (hls->ignore_io_errors) - ret = 0; goto fail; } ff_hls_write_playlist_header(hls->sub_m3u8_out, hls->version, hls->allowcache, -- 2.45.1 _______________________________________________ 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".