Message ID | 20240717220524.8240-1-qyot27@gmail.com |
---|---|
State | New |
Headers | show
Delivered-To: ffmpegpatchwork2@gmail.com Received: by 2002:a05:612c:2011:b0:482:c625:d099 with SMTP id fe17csp71926vqb; Wed, 17 Jul 2024 17:01:50 -0700 (PDT) X-Forwarded-Encrypted: i=2; AJvYcCXXr+9xzi/AiBsZRyWob5zMMQJmFunxe2DN/jG2/nvZywjkorF6mK171KVETIQzOvVuC40B3ZHaPNzOWYZlUcQOUbq23ArPFrKn0Q== X-Google-Smtp-Source: AGHT+IFr0IFpOnJ8DHSGF8ih3LMCz32Ns3tuAG3lOZb5leBolFy2k/ntLovRrt6cpQi+dTNj2pAz X-Received: by 2002:a05:6512:3d11:b0:52c:d9f8:b033 with SMTP id 2adb3069b0e04-52ee539c17bmr2464060e87.3.1721260910525; Wed, 17 Jul 2024 17:01:50 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1721260910; cv=none; d=google.com; s=arc-20160816; b=gIfAdX3sqkYnkU/APxTXTesNY4qxEhm7ajhC1+U4FRFKkwSqY8UonWne4szyhQr+qQ 2Lr5nI7a2YZNFVR3MFn8TFsPwVlYMd7QYbAK9j+59uBwymQdOVALsbBqfOBO9M8KyvWo 8TqqeiZFGtjSqeNZLd0w3O6A2aue0NNrtx72e2ysoOAIvlipse2HVW0E8GxAxAyF3ypB +wLcqt7SVtyQ/u/OF7FDmGVpHCSlv5su/DuXcXzalr0SyqmxBkvMe5kG0BRdw8esnCyg DAlXK0rQh86k6WodNbW01t9JIf2pqXGHBGgT73CSGBmfNfmTevUWTpIhBWfYS0KkhxI0 kzbA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:content-transfer-encoding:cc: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:dkim-signature:delivered-to; bh=sHXKs4wKKNok+K3MpJvL6KD0NmF0aBZLcHQTAqiK8z0=; fh=dF+SszRLFyubUCP/LDvIY2NwiNB1Gp0Txz6w70WKHpo=; b=yPz1qcOcf5JmS1H8TY4ox/HFzEXjfheMCD2Rx4gCfCM1tUDiTstvz1MN8+FtHMjt3l ZqSteXeDRTverI6R4MhZSdJtXPjmPB7FN2ANQL2yg+veDjYoI3vZjwcwR4GItn+oz8B1 /7O/mG+K3vKeAY0aOFMQ19s/SgRj/AivS6ghxDdPhAiPCcyTePnSVNXD4cy1FUFw3k+W Qw/V01JlQWziqPaRBbZA9hmjjuk50OJ+YfpnrhGmWQcSx9Px00llbc5YIwceYbwNqjgV /1f+x4a4nBDuGHOrGcjsRn9IbK/nBT998kQR8d5GEBBlPr66lsGUoHOMXT6/KOstMLzG j8ww==; dara=google.com ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@gmail.com header.s=20230601 header.b=llQrXUKC; 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=QUARANTINE dis=NONE) header.from=gmail.com; dara=fail header.i=@gmail.com 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 2adb3069b0e04-52ed255ae12si2988347e87.296.2024.07.17.17.01.50; Wed, 17 Jul 2024 17:01:50 -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; dkim=neutral (body hash did not verify) header.i=@gmail.com header.s=20230601 header.b=llQrXUKC; 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=QUARANTINE dis=NONE) header.from=gmail.com; dara=fail header.i=@gmail.com Received: from [127.0.1.1] (localhost [127.0.0.1]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTP id 8F75168DA58; Thu, 18 Jul 2024 01:05:45 +0300 (EEST) X-Original-To: ffmpeg-devel@ffmpeg.org Delivered-To: ffmpeg-devel@ffmpeg.org Received: from mail-ua1-f46.google.com (mail-ua1-f46.google.com [209.85.222.46]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTPS id 0EDEE68D859 for <ffmpeg-devel@ffmpeg.org>; Thu, 18 Jul 2024 01:05:39 +0300 (EEST) Received: by mail-ua1-f46.google.com with SMTP id a1e0cc1a2514c-821eab936d6so64344241.3 for <ffmpeg-devel@ffmpeg.org>; Wed, 17 Jul 2024 15:05:38 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1721253937; x=1721858737; darn=ffmpeg.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=JFw3MUvEj5Tgg+iovSAg4x1thCB2zqw0K+45lMm1HyI=; b=llQrXUKCZ/4csCnd5uG5ZPRbuc+QH8olRGkIbWy9lNRq4CjF8YdHT12M7lCOxznLJQ l9DxoEeuUXlMYK+dDssNAxqmRkHwHJeJAD5Sgf1t/iGuY/aHH5Ig1KcJi346+8Txhjuy k7uHggk1k4/S4ho3aT4+Ac4wO4vkh/NMNzC/TOJFYxwOY8ZwvBbHDxtogdUwWeVHuwlU SiuEJ/mIX0ijL4QuIGaxZ2o/cdEhLkSP6ZtaQN2D8wZoe0zGPfqC5QWdAFAKz74U1mJ2 PRR23FxtKN+mBsJfoex8lo+2olJ3UDRbn+I4hnoEvIzVlewMzK1Rdr7t5k8aLfbDGhiK pwug== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1721253937; x=1721858737; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=JFw3MUvEj5Tgg+iovSAg4x1thCB2zqw0K+45lMm1HyI=; b=n4OLECU3jVs2eGiIQVuyXd7IRwIrG4TINVnkmrxFb0Hlsg3PnpfoERdVUFe2H/i7cc ST7CgV/SLFYYTUFoW8lISox7qCQHuWWbDTw+t8Lcl4BrBB3+3A8cUQQaHKfWr5HYNEq0 PWcG/xWhTVLALZFD6RNRqh7foevJLvUpwREWVQ1RagmAcgmmZ+V4N2q6TzsGsG74mcPd 8RwaNIw0+THEvt5b6XcDqlSXzs0XcXZFawXFkPfVlZg+qPtp0v1dI58LnZZT60+Y3LI1 NzzRW0CC8XaQNXzUYgNyUydvLEaWzr6doMhkQxN6dd55yJy0O/NysViRDKVlwXyWTBjI Dmjw== X-Gm-Message-State: AOJu0YxM2Anc6PLQnoeF1n2ou6z+rBDPOgiXi0QhnBPd0oX9/6qgowMY /QHLBoWhy/QMQv4wPVS/kWq8qY8/ZshTCQYEJuTpS2siwgv87AvvMGbJRA== X-Received: by 2002:a05:6122:16a8:b0:4ef:630f:d579 with SMTP id 71dfb90a1353d-4f4df6e5d6amr3912684e0c.8.1721253936778; Wed, 17 Jul 2024 15:05:36 -0700 (PDT) Received: from cappuccino.. (syn-173-170-140-230.res.spectrum.com. [173.170.140.230]) by smtp.gmail.com with ESMTPSA id 71dfb90a1353d-4f4d6f11181sm587572e0c.16.2024.07.17.15.05.36 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 17 Jul 2024 15:05:36 -0700 (PDT) From: Stephen Hutchinson <qyot27@gmail.com> To: ffmpeg-devel@ffmpeg.org Date: Wed, 17 Jul 2024 18:05:24 -0400 Message-ID: <20240717220524.8240-1-qyot27@gmail.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <AS8P250MB0744D0153076A88334F5C6E08FD92@AS8P250MB0744.EURP250.PROD.OUTLOOK.COM> References: <AS8P250MB0744D0153076A88334F5C6E08FD92@AS8P250MB0744.EURP250.PROD.OUTLOOK.COM> MIME-Version: 1.0 Subject: [FFmpeg-devel] [PATCH 2/2] avformat/avisynth: remove mutex lock from read_close 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: Stephen Hutchinson <qyot27@gmail.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: /b3dVoTCTVlZ |
Series |
None
|
expand
|
diff --git a/libavformat/avisynth.c b/libavformat/avisynth.c index 5d1ecc0bf6..e586fd8ce3 100644 --- a/libavformat/avisynth.c +++ b/libavformat/avisynth.c @@ -1085,11 +1085,7 @@ static int avisynth_read_packet(AVFormatContext *s, AVPacket *pkt) static av_cold int avisynth_read_close(AVFormatContext *s) { - if (ff_mutex_lock(&avisynth_mutex)) - return AVERROR_UNKNOWN; - avisynth_context_destroy(s->priv_data); - ff_mutex_unlock(&avisynth_mutex); return 0; }
Signed-off-by: Stephen Hutchinson <qyot27@gmail.com> --- After asking about this and testing with AviSynth+ 3.7.3 and AviSynth 2.6, it would appear that this isn't necessary. If it was to handle an edge case and said case reappears, it can be re-evaluated then. libavformat/avisynth.c | 4 ---- 1 file changed, 4 deletions(-)