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 20EA84CA95 for ; Tue, 13 Aug 2024 19:19:44 +0000 (UTC) Received: from [127.0.1.1] (localhost [127.0.0.1]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTP id 9D72A68DA99; Tue, 13 Aug 2024 22:19:42 +0300 (EEST) Received: from mail-yw1-f181.google.com (mail-yw1-f181.google.com [209.85.128.181]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTPS id 7E33E68D20C for ; Tue, 13 Aug 2024 22:19:35 +0300 (EEST) Received: by mail-yw1-f181.google.com with SMTP id 00721157ae682-651da7c1531so52823507b3.0 for ; Tue, 13 Aug 2024 12:19:35 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1723576773; x=1724181573; darn=ffmpeg.org; h=content-transfer-encoding:in-reply-to:from:content-language :references:to:subject:user-agent:mime-version:date:message-id:from :to:cc:subject:date:message-id:reply-to; bh=ZIfnTsmgJeMf7rYef03DnWPY3sPsog3bmvvSWScpBgc=; b=f67mzTlcpSb+iBbKKML4xh0aaTDmaj3oOPTMwE8Vyip/fnE/4xWX6fVrZSKsXlyGxI qwV/yUYHrytl2xQrRxrWY4PRcGcdvLGgcVIf6VD8UOxWSEMgM+zEsvWATPhqfYr+2Nqj RhbdA/3wQAWYrM85ZuO2ESj4yz7IkdKZybnWRw9tAwUApgGY+AvYfhSWWYe4oUZKc42c 96DFR273hywYfJGVrll3CQA8VJDM1+Knf+RiXoScEc2Kl+hxbsv2u2UsadIioNiecWiM F1x41N7Qp3Mj/y4yVJfiRMXLVa/6hc4049yvQ0/QwI6nWJ0EvtgdYkeRSgxYOIQ7o2cW gD9A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1723576773; x=1724181573; h=content-transfer-encoding:in-reply-to:from:content-language :references:to:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=ZIfnTsmgJeMf7rYef03DnWPY3sPsog3bmvvSWScpBgc=; b=IGyAuTACLS+AJRVRHJjf4xC28WIikNioOSJThHfesC++attlrJ3/EGQBw3/0ilb+hM FzzGxtg2tPWa6x0zNOxpJRXYwgSNJIDRVdDkedG+GLskujD9ARAMVADaGtd5q88BWCxT fLWsN4sGuCD1fG8fLcrL56apJixPHbqacFlRRkvwpE/aeKOq86ORrKdkpah+WDjpd7Se eJUFGJHoYJpc+3Dy880VwIlclbw35csxr0t/3ytRc0LuNYcTgSgddvJinrqVIdTfWFFH wWsPM7Ae8hBz7FIZMXsWKyV3JIa8jhUNb3LM3B0xPn5XshDDYs/cSxfU+aGcsrrOgJ/C 7eLA== X-Gm-Message-State: AOJu0Ywx1FA6SJ3vie6S4gdywfIgYpaxXqgHBjXVM91OHoQ3ApiSeUKX x0t+EXg9yTIq0St/0xVPHsZkDyYYAENfjclxLRXOtdrT79evdoZgSf4WBA== X-Google-Smtp-Source: AGHT+IFrLgMV1QndGBl5TKe/1s+4bPg2y9GlWotDVOxafx5zvsFpn3w084WCrqOe4LQxVrYlE3slzw== X-Received: by 2002:a05:690c:90:b0:61b:1f0e:10 with SMTP id 00721157ae682-6ac95696f09mr6830587b3.4.1723576773472; Tue, 13 Aug 2024 12:19:33 -0700 (PDT) Received: from [192.168.1.20] (syn-173-170-140-230.res.spectrum.com. [173.170.140.230]) by smtp.gmail.com with ESMTPSA id 00721157ae682-6a09f9077dasm13344827b3.15.2024.08.13.12.19.32 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 13 Aug 2024 12:19:33 -0700 (PDT) Message-ID: <36b0fc22-1bbd-4c29-b0df-37d51c7516e5@gmail.com> Date: Tue, 13 Aug 2024 15:19:32 -0400 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird To: FFmpeg development discussions and patches References: <20240719165627.5490-1-qyot27@gmail.com> <20240719165627.5490-2-qyot27@gmail.com> Content-Language: en-US From: Stephen Hutchinson In-Reply-To: <20240719165627.5490-2-qyot27@gmail.com> Subject: Re: [FFmpeg-devel] [PATCH 2/2 v2] avformat/avisynth: remove mutex lock from avisynth_read_close 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-Transfer-Encoding: 7bit Content-Type: text/plain; charset="us-ascii"; Format="flowed" Errors-To: ffmpeg-devel-bounces@ffmpeg.org Sender: "ffmpeg-devel" Archived-At: List-Archive: List-Post: On 7/19/24 12:56 PM, Stephen Hutchinson wrote: > Signed-off-by: Stephen Hutchinson > --- > Changes compared to v1: > * Adjusted for patch #1's inclusion of dlclose > > libavformat/avisynth.c | 4 ---- > 1 file changed, 4 deletions(-) > > diff --git a/libavformat/avisynth.c b/libavformat/avisynth.c > index 26747671c0..b01263e010 100644 > --- a/libavformat/avisynth.c > +++ b/libavformat/avisynth.c > @@ -1085,12 +1085,8 @@ 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); > dlclose(avs_library.library); > - ff_mutex_unlock(&avisynth_mutex); > return 0; > } > Pushed. _______________________________________________ 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".