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 B2A5242697 for ; Wed, 5 Jan 2022 22:21:24 +0000 (UTC) Received: from [127.0.1.1] (localhost [127.0.0.1]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTP id 210A468ADAB; Thu, 6 Jan 2022 00:21:22 +0200 (EET) Received: from mail-wr1-f44.google.com (mail-wr1-f44.google.com [209.85.221.44]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTPS id 95591687992 for ; Thu, 6 Jan 2022 00:21:16 +0200 (EET) Received: by mail-wr1-f44.google.com with SMTP id v6so1042826wra.8 for ; Wed, 05 Jan 2022 14:21:16 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:subject:date:message-id:in-reply-to:references:mime-version; bh=lGI4BmHZncd/fyacc0CLToy8xzwKtUzUm8lDd6zJDiE=; b=JgWE1BzYFgBr4HvDXR/B4YTPp8IjALPZbo/MiaV0kRU1jzB08nuFXZ1YGR9YTWVmK5 GgqOzgG0nfXih//hAIagSND2Qwr9/ejb+OrbOWgpkwrfoqnslQD3eK+TVigTqNCNobKl ds0xNXScvyjukHdEcJ/2q7hNVADqKSqWG2dHX2ai1lamERGu8as2kq7TqZXZu038l/u5 3pBvEI1J72ga1QjKvqxhwJs8hieQbBe7AoYV3/rQi951K6YLNKwmomUB908tK/j9Z9+h OzHEzKpfTuQBmXiBQaYZlRLX9lblTQ43Ut31A9VsIUPtErXa8VS/sjvFEJS3iDhyd20V 1cVQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:subject:date:message-id:in-reply-to :references:mime-version; bh=lGI4BmHZncd/fyacc0CLToy8xzwKtUzUm8lDd6zJDiE=; b=zIzLA71BE8ypURFAR94gkXvGY+zsvEUTgfhTAzKEA8RdJuZkr+7OHXFBSxPX0vpXsO jXiYh5ZMP5c8ccNlmVq+ne/tIFx+Th5pffIHfxt3OqXZWNRjKPYTUYnbCM02xrk4lx4V kHz9xNy1Nb7NilYkMcQLLkxfisJ4dJ8gMyw9po5Y4IvD1M2b/AVkt0cuOWsRlDvSYlon zG4DGYK9djqIZ3jdIN9Xyd0NhGSou/NgUE2G++0ZOmlezS0M4+heIR0UTTsaHtfJ8RWh 8QXcDyYLXQbIVK0LsI9NZ8us5t0R8K6YZZarUpd8Hf8JPnqAeYrjT/zG8sEPIwTRb7yh ZGBA== X-Gm-Message-State: AOAM532ihWBbjJ9rcjiS+RWdVK86dJeiuRODDynWcl7KcvCHPnUb3sq6 l+vT2GwCXIoqLbxCDGtWxenhP/yLYtaocg== X-Google-Smtp-Source: ABdhPJw2AHaHNpU4j12n8kVBGJCYib3x23dLaNGQSnvsMM1cR3K8TmM7xjeuSboCwasTJCHya411fQ== X-Received: by 2002:a05:6000:1862:: with SMTP id d2mr47351912wri.461.1641421276016; Wed, 05 Jan 2022 14:21:16 -0800 (PST) Received: from [10.10.10.172] (84-112-75-55.cable.dynamic.surfer.at. [84.112.75.55]) by smtp.gmail.com with ESMTPSA id p13sm261174wrr.37.2022.01.05.14.21.15 for (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Wed, 05 Jan 2022 14:21:15 -0800 (PST) From: "Marvin Scholz" To: "FFmpeg development discussions and patches" Date: Wed, 05 Jan 2022 23:21:14 +0100 X-Mailer: MailMate (1.13.2r5673) Message-ID: <3265CAD5-E004-467B-B8E7-3A9BC7EF01A6@gmail.com> In-Reply-To: References: MIME-Version: 1.0 Subject: Re: [FFmpeg-devel] [PATCH 10/10] avcodec/avcodec: Remove outdated comment 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 5 Jan 2022, at 22:56, Andreas Rheinhardt wrote: > avcodec_open2() is supposed to be thread-safe (those codecs > whose init functions are not thread-safe are guarded > by a global lock). > Maybe it would be better to note since which version this is the case, or at least mention it in the api changelog? > Signed-off-by: Andreas Rheinhardt > --- > libavcodec/avcodec.h | 2 -- > 1 file changed, 2 deletions(-) > > diff --git a/libavcodec/avcodec.h b/libavcodec/avcodec.h > index 7ee8bc2b7c..ec1a0566a4 100644 > --- a/libavcodec/avcodec.h > +++ b/libavcodec/avcodec.h > @@ -2384,8 +2384,6 @@ int avcodec_parameters_to_context(AVCodecContext > *codec, > * avcodec_find_decoder() and avcodec_find_encoder() provide an easy > way for > * retrieving a codec. > * > - * @warning This function is not thread safe! > - * > * @note Always call this function before using decoding routines > (such as > * @ref avcodec_receive_frame()). > * > -- > 2.32.0 > > _______________________________________________ > 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". _______________________________________________ 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".