Message ID | DB9P191MB14826234344C1A08FB7FD491FE1E9@DB9P191MB1482.EURP191.PROD.OUTLOOK.COM |
---|---|
State | New |
Headers | show
Delivered-To: ffmpegpatchwork2@gmail.com Received: by 2002:a05:6a21:999a:b0:a4:2148:650a with SMTP id ve26csp2624795pzb; Sat, 10 Dec 2022 17:11:47 -0800 (PST) X-Google-Smtp-Source: AA0mqf6U8M7sMIKBO0fdgJ5QMbp8ZyIsYm5VSXEoJmBxpwMqAEBN9/UVjThYyUA1tjhtdRYDM9XF X-Received: by 2002:a17:907:d049:b0:7c1:5467:39af with SMTP id vb9-20020a170907d04900b007c1546739afmr3171979ejc.37.1670721106875; Sat, 10 Dec 2022 17:11:46 -0800 (PST) Return-Path: <ffmpeg-devel-bounces@ffmpeg.org> Received: from ffbox0-bg.mplayerhq.hu (ffbox0-bg.ffmpeg.org. [79.124.17.100]) by mx.google.com with ESMTP id p18-20020a17090635d200b007bb8667e804si2403885ejb.374.2022.12.10.17.11.46; Sat, 10 Dec 2022 17:11:46 -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; dkim=neutral (body hash did not verify) header.i=@hotmail.com header.s=selector1 header.b=fUFcY0uu; arc=fail (body hash mismatch); 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=hotmail.com Received: from [127.0.1.1] (localhost [127.0.0.1]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTP id A53D568BDE2; Sun, 11 Dec 2022 03:11:44 +0200 (EET) X-Original-To: ffmpeg-devel@ffmpeg.org Delivered-To: ffmpeg-devel@ffmpeg.org Received: from EUR05-AM6-obe.outbound.protection.outlook.com (mail-am6eur05olkn2047.outbound.protection.outlook.com [40.92.91.47]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTPS id 0F21568BD7B for <ffmpeg-devel@ffmpeg.org>; Sun, 11 Dec 2022 03:11:38 +0200 (EET) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=L1EUIG9E5PsyPteEguwPILu/i/FIXaq5UmQWu8Mucujkc7dIJ5GqYIdagcMqFl+OMsJnMmdt4yWG5d4JtaJBGKZumhc4/nmXe5WQELMH2JSm5NKHOnajDK0vFz0OFpDmsugX/IF9kvOwLbzVZzRSWVNVtW58R9C4MNBTcREZ9xexy3HZf8z7bpGzLUlYBX9A3TZjxcSqSPRSC6SHISTpds0PKg2ZaK8oxb4LxfmEuV+vqTJCsww9yQSEthZcdIuDBaaQqgUyTrQupouXBpVTy3de3X5TKC3R5DBnZZDfGEHj9qfJU3iXyyFXEP3w8dCiDjo4NYu1SwTUQj5n0jgKgg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=DSd5m9n09/ifbT1lx5G2S1xlEiU4UbVjullAp/79Sz8=; b=ZCIXXHVEnsrFhi3xz5C0aJJkSakKvb4jaeIoWVyoHzkDrI9N49gjqaRy8fHTDazMUpnCR1mbxayIyM5bEhRNG1K+nXZtJ6dPpqeudv5NHEuzF3XxrYlF+ZaNZNPlPVpVUOEBolpLO/x2TIHcwtdShN/5iU1j+H+dEUqK8vpMtC+Y0tDzERrKPrApyeb3k+Iwf4a9x8BeI5PzPUuzwNAnBmtk9MqvTeji6zHS4Vkt1/WbOecdbehazo5S2D38uZkYPzhNXso7L8ERvsxni3svHr2pDw5ZSx56k7aDzg56NKYsk+MTM5643ZtopVTQXdD8QSrNWy51BvoLujpuh6Tf6Q== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=none; dmarc=none; dkim=none; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=hotmail.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=DSd5m9n09/ifbT1lx5G2S1xlEiU4UbVjullAp/79Sz8=; b=fUFcY0uuLNsAHsT3KyL0YISuIDd5ENHptvSUGxlzuamv7Qmyrtvr5mJ7mOpmCFK9I3gut1Q4pu1h5JbVFE5NYwJqQPNdwaD2wtaFoRjNXwzpW+bu5J0oJclDauayWscuRZwmvO/r45nZfxoQpSF+aZ4u2s2AxfDqesSX8b06luSLoFtVH51OwFbe6uxCsAThUvyuMjsNTS8PRGs0Ql+FC8hwoW9G3hDB3dmLsUXIye4YnqlGPf1osF3227h32mwk84dT5cpOprm44myoLyoBZiNHCBFPuuVTn98r3gDzKwKD80FrwRggW6dfadl0We7Xw7b387sNcQbHV+6Z5PW1TA== Received: from DB9P191MB1482.EURP191.PROD.OUTLOOK.COM (2603:10a6:10:224::19) by AM7P191MB0583.EURP191.PROD.OUTLOOK.COM (2603:10a6:20b:134::17) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5880.19; Sun, 11 Dec 2022 01:11:36 +0000 Received: from DB9P191MB1482.EURP191.PROD.OUTLOOK.COM ([fe80::bada:6a73:3b1:7977]) by DB9P191MB1482.EURP191.PROD.OUTLOOK.COM ([fe80::bada:6a73:3b1:7977%9]) with mapi id 15.20.5880.019; Sun, 11 Dec 2022 01:11:36 +0000 From: Basel Sayeh <basel.sayeh@hotmail.com> To: ffmpeg-devel@ffmpeg.org Date: Sun, 11 Dec 2022 04:11:23 +0300 Message-ID: <DB9P191MB14826234344C1A08FB7FD491FE1E9@DB9P191MB1482.EURP191.PROD.OUTLOOK.COM> X-Mailer: git-send-email 2.30.2 In-Reply-To: <DB9P191MB1482170477EBAE21BA77A642FE1E9@DB9P191MB1482.EURP191.PROD.OUTLOOK.COM> References: <DB9P191MB1482170477EBAE21BA77A642FE1E9@DB9P191MB1482.EURP191.PROD.OUTLOOK.COM> X-Unsent: 1 X-TMN: [UySkheAOJ5DKx0VBjPE3bZ6bCgI+6Qztq75aDaTbZq2CPHHfUsDkTIvYGRCqaB+T] X-ClientProxiedBy: DXXP273CA0024.AREP273.PROD.OUTLOOK.COM (2603:1086:300:2::36) To DB9P191MB1482.EURP191.PROD.OUTLOOK.COM (2603:10a6:10:224::19) X-Microsoft-Original-Message-ID: <20221211011123.40122-1-basel.sayeh@hotmail.com> MIME-Version: 1.0 X-MS-Exchange-MessageSentRepresentingType: 1 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: DB9P191MB1482:EE_|AM7P191MB0583:EE_ X-MS-Office365-Filtering-Correlation-Id: b53ab260-63a9-47a6-d2ca-08dadb14a655 X-MS-Exchange-SLBlob-MailProps: AZnQBsB9Xmqr+zeycdQOrx7y+Ux8yeQND/fnfrEc9E4yBxhGP3yzmWsiOAdJM19MCOz+dwn8jw60bMVRYne7JGIsmyvFuyeoZFRXaIoKwdZISJAklDgYB5Lz/AGBfN3mkneMppw1tnhAyPdKPInvC49csmd9ibs/zuBaB3Mvl9CImF2Q2fHJnTHm3Di+KeCfydfQ1DK+AiHkaW420nEBmcxONmwgex0vrXcIp9NaZVl2Vz74yyR7Y2RwEA16BQzETYH35Q2xq55ZG6B0iJ9XXr5IxGrTAfgW3LBva8FCy9iiQnZn1lzBoWIPPwqZMsbthDrpZtSg58LzA3XKu47acdHufCpnCA73wAH0R5aYa/Rq8FNPo53zYrDiumic/5nGpjHVpFSwDLQIfnA/ZIUTMKJzvF/f/KLEYLKfvFMiTiWdvdptxROCGwGnmQD3WPE/Sml3qXX6kPhEHq24/qfgYYoRDOwK5jvPxxJ08fbmNjfx9iIM0FIqjyV5Qfp1WMz5qnxPlNaVxit7xkBrgSlx1KB84R0vpLc2LPqnQRitZsBEj2RcPttB7mGOh7++0GfgWR1YnKv+hvtNr1WeZyfVoI6Pct+1LVt2gOplKzUTC5KSosmQ1PftYEKQ7Frvq91SiQM4Ih7Jnx+CWSFzr1igBOXNImh/L1/7RdDsg1RIvsMdnihrFlRjWm4cj3KTUFcGiKsJnniLvGiGs6duJBTg0/tVxDf1t2XP4FhUoLIGD9gqO2vBSAQT8CKLxyyxSrN7jVuOH/MMlXc= X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: 8BoSXahI3c8M4nFEmTljUOT7ewCd0CQlK/qGWIk/PIyUGkWB65ypex80Q9Ods2j3p5GWdVCLSCQAzx7VwDm2WL9TGjbNBIJEKcUskI0u8Z/y0ytMPii6UJ8UDb3TEjbqZ8RJGkaLB5YH+CEjAdb5LlWp5WvA17JD3FDifz6LcJyp7dbUwR5TQrAsK6rR50dH3zUSz16yeZxXua+9aqOvdKYkFzfhqkGueKf5+wA99zrSeH8jVc9Y431s1SRFaH3/thXqeKIRVc7FJEHWuWAVN/2UyDV2QaFxU5VWazZrmUJFaTPAOTVprc5J7O+qPinGva0KddrtPFQu/vAa6AJcQ7r1CY8wUDVtWwwkYnxAW/LLxcFWygLOFFfqtRQupGKQmQDKD4ULlJC06hPfQoVaB8iXv9fGIROQroE+ydPtjG5ijOztN+Wv1M0GdeZ5119j2RBu9mft1w7QfKdUS3FfwfrSJg0s+R1TeitxBMJNQG3vhvS3dZkwZBitfd72C10o/grfylZWTR0G2p+Vs6SamAboHGIQ9CNLC20oIGjZ0tbasvbdmooOS/MiYZEXXMrguvLLgPvMIS3iWwsNbV1M6I/HxUe0P20wCNLYabBoIANSq3WuJBHiCbiqORyA5IYAOzHiyXy29jqXTnXXV75Vkte46onvMuTCfBUVdURRq54= X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: m7Gcr4utD1QqOR50S+K98BsHdP26zOz3tIP6G3A7ONujnKo8wiEpn8yN4lfhPS8B7s6Bf99UZJxrMT1BFnc6qQ4iKt9sEHc9C6Nk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v4yHLujNvPai3JxhsUtfMjSsAAtFGqyzo//U1Fy6H1fDtjSTJzVMhjlqqU57XzwHQcnicV+ffqzOwx9ZBn98921OQPgwttoFrUZDM8vdOzxVGFp4jhKnUTAnIQRuwADyEsAeIJMkeh5aKz/yLQIVHD1ykuuhrtTxw9OhOTfdL7NGG6BD2Rmj3A== X-OriginatorOrg: sct-15-20-4755-11-msonline-outlook-50200.templateTenant X-MS-Exchange-CrossTenant-Network-Message-Id: b53ab260-63a9-47a6-d2ca-08dadb14a655 X-MS-Exchange-CrossTenant-AuthSource: DB9P191MB1482.EURP191.PROD.OUTLOOK.COM X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 11 Dec 2022 01:11:36.6723 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 84df9e7f-e9f6-40af-b435-aaaaaaaaaaaa X-MS-Exchange-CrossTenant-RMS-PersistedConsumerOrg: 00000000-0000-0000-0000-000000000000 X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM7P191MB0583 Subject: [FFmpeg-devel] [PATCH 2/2] libavformat/hlsenc: Return in hls_write_packet if error after retrying with a new http session X-BeenThere: ffmpeg-devel@ffmpeg.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: FFmpeg development discussions and patches <ffmpeg-devel.ffmpeg.org> List-Unsubscribe: <https://ffmpeg.org/mailman/options/ffmpeg-devel>, <mailto:ffmpeg-devel-request@ffmpeg.org?subject=unsubscribe> List-Archive: <https://ffmpeg.org/pipermail/ffmpeg-devel> List-Post: <mailto:ffmpeg-devel@ffmpeg.org> List-Help: <mailto:ffmpeg-devel-request@ffmpeg.org?subject=help> List-Subscribe: <https://ffmpeg.org/mailman/listinfo/ffmpeg-devel>, <mailto:ffmpeg-devel-request@ffmpeg.org?subject=subscribe> Reply-To: FFmpeg development discussions and patches <ffmpeg-devel@ffmpeg.org> Cc: Basel Sayeh <basel.sayeh@hotmail.com> Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: ffmpeg-devel-bounces@ffmpeg.org Sender: "ffmpeg-devel" <ffmpeg-devel-bounces@ffmpeg.org> X-TUID: 2CHCiyYQesti |
Series |
[FFmpeg-devel,1/2] libavformat/http: Use http_read_header in http_shutdown to react to response errors
|
expand
|
Context | Check | Description |
---|---|---|
yinshiyou/make_loongarch64 | success | Make finished |
yinshiyou/make_fate_loongarch64 | success | Make fate finished |
diff --git a/libavformat/hlsenc.c b/libavformat/hlsenc.c index a86fc8907f..57149985da 100644 --- a/libavformat/hlsenc.c +++ b/libavformat/hlsenc.c @@ -2591,6 +2591,9 @@ static int hls_write_packet(AVFormatContext *s, AVPacket *pkt) av_dict_free(&options); av_freep(&vs->temp_buffer); av_freep(&filename); + + if (ret < 0) + return hls->ignore_io_errors ? 0 : ret; } if (use_temp_file)
Signed-off-by: Basel Sayeh <basel.sayeh@hotmail.com> --- libavformat/hlsenc.c | 3 +++ 1 file changed, 3 insertions(+)