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 CC17D4BFB5 for ; Fri, 19 Jul 2024 17:05:24 +0000 (UTC) Received: from [127.0.1.1] (localhost [127.0.0.1]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTP id 2E70468D9F9; Fri, 19 Jul 2024 20:05:21 +0300 (EEST) Received: from mail-oa1-f43.google.com (mail-oa1-f43.google.com [209.85.160.43]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTPS id 8C1D068D87E for ; Fri, 19 Jul 2024 20:05:14 +0300 (EEST) Received: by mail-oa1-f43.google.com with SMTP id 586e51a60fabf-2611da054fbso227740fac.1 for ; Fri, 19 Jul 2024 10:05:14 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1721408711; x=1722013511; 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=kMvIh9DE4F63+KLdVd6shhcoKK1E6v64YX3KjG+lwnA=; b=GqNSdygu2/WqYhq3+IWKm/ZnwfSsL0kdMuBdPIld+YK50j97BlQevRXBdhqq7VACF+ CTMz1c6d76MpdKGMGQztzWG7YhANWBOrz+CMnJ7/+V3bKpHB0AYdEDaYw2BuYdVqzv5q q4wEdhcTXlP1Z/AnxkwsT6rg3XtTpYQb9l4Vm8k7j4OFis6A472S8sd7xlecK+f0h1Ds WTogxIFHfAaEcUtH/mndVRSQubORuhN4CI8YJH7opzZDeDSuO3hYZ5RhjMqxnxhjKC26 EFcbnLFkm1EuMXkyVf2tCsYrFZho6sjuJXSSvzQsHsCCcsDsmTujNRM1PI6ohweghw/u Bc8g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1721408711; x=1722013511; 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=kMvIh9DE4F63+KLdVd6shhcoKK1E6v64YX3KjG+lwnA=; b=njlXOUvZkJ26MZ+nWvqYq4hg1Dn/cjRlRx4ju0preFPbe1wJ7wypwKuUZjvPhQVTA2 oxBrIC0Yxorto//hp0JA7NBaDn/92M5+1DlcF8jF1qll3GXfFX+flgqrLV7JFR9awqPz Ron3NyFSnN6BppSiIpUGeiMjBJHHOeVuNlDgdaSb9i9kMkYPk8EHGOOMFG+MYCQyWMKV WXuxZ7WqavbUDOvoEiV5fdklmSVAmbhgh0bIx+v1Ne6Of+pxtoGDZUK5RN40iGpubo13 WieAHEm5S0inUkvgG3vlUvEH0KBMGqcNiKwC6TEiD+zQY1F+bhaTmVp9IdyuzbE4jQLs 4Eww== X-Gm-Message-State: AOJu0YxC9jm1UaSOVf8W1E3KXC926DQCYdz2BeRUMTfXC7rr+pRHqvQf 5PtYMHD1S3xMkrhnlwkqI3iHp/rFuBMbYGSH7/stqolnMgXXyhJfCxkmMA== X-Google-Smtp-Source: AGHT+IFtEK0iRlF+b7V7mD3zxn11NwLwsMcrsot4+IihKxEkorsfn4/9PStFzugchpuvz8k7f7pZHQ== X-Received: by 2002:a05:6870:c6a0:b0:24c:a8e6:34e7 with SMTP id 586e51a60fabf-260d923470cmr6809118fac.26.1721408711455; Fri, 19 Jul 2024 10:05:11 -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 a1e0cc1a2514c-826dfe3e019sm196411241.27.2024.07.19.10.05.10 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Fri, 19 Jul 2024 10:05:11 -0700 (PDT) Message-ID: <433c95ea-8982-4818-bdb8-82135a0d814e@gmail.com> Date: Fri, 19 Jul 2024 13:05:10 -0400 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird To: ffmpeg-devel@ffmpeg.org References: <8c6c11a6-bc55-41a0-9f98-262c60f63ec8@gmx.net> <09b1f1e5-4e05-4c99-9451-28be33bfd9ba@gmail.com> <52bcfca2-2666-4c95-927b-d22714568714@gmx.net> <5fb71a99-92e3-45b3-9a36-f9fe912b24f5@gmx.net> <27c8d4df-7dc0-4f15-8590-42c6b016c2bb@gmx.net> Content-Language: en-US From: Stephen Hutchinson In-Reply-To: <27c8d4df-7dc0-4f15-8590-42c6b016c2bb@gmx.net> Subject: Re: [FFmpeg-devel] [PATCH v2] libavformat/vapoursynth: Update to API version 4, load library at runtime 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/18/24 10:53 AM, Stefan Oltmanns via ffmpeg-devel wrote: > The AviSynth patch to remove it by Stephen Hutchinson does not introduce > it somewhere else. It is now only called directly at the start in case a > needed function cannot be loaded from the DLL. > From what I read dlclose is only needed if there are any C++ > deconstructors or similar stuff that need to be called before exiting > the program. > dlclose usually won't unload the library anyway (the spec does not > require dlclose to do that) > That was just an oversight. Interestingly, the only situation that the lack of dlclose appeared to cause a problem with when testing was when the AviSynth host was the standard MSVC build for IA32, under which case the lack of dlclose caused a segfault on exit. The 64-bit build was fine and so were amd64 and i686 GCC builds. Odd, but regardless, fixed in the newer version of the patch. _______________________________________________ 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".