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 ESMTPS id 7B9654E390 for ; Mon, 10 Mar 2025 23:11:21 +0000 (UTC) Received: from [127.0.1.1] (localhost [127.0.0.1]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTP id 2687268DBBC; Tue, 11 Mar 2025 01:11:17 +0200 (EET) Received: from mail-wr1-f45.google.com (mail-wr1-f45.google.com [209.85.221.45]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTPS id A334A68C2F9 for ; Tue, 11 Mar 2025 01:11:10 +0200 (EET) Received: by mail-wr1-f45.google.com with SMTP id ffacd0b85a97d-390f5f48eafso2392371f8f.0 for ; Mon, 10 Mar 2025 16:11:10 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1741648270; x=1742253070; darn=ffmpeg.org; h=user-agent:in-reply-to:content-disposition:mime-version:references :mail-followup-to:message-id:subject:to:from:date:from:to:cc:subject :date:message-id:reply-to; bh=hFNemLesvmfbAM5qjOM8gLkGZBc5Szh9kEvZ/Zbani4=; b=O6YkVnXoRkZdzs2OhTvPiXp4Sy9FGInqq+d4brR70qeXRmeSLAIiE+27xul31oV4Gh XphcCt66akqSNtfFOe2c/x2hYSs54BEDlqLDuw7EqTizbF9XQJosLiu6NgLkVeL/ydz3 6EVHeIs2EiOSEdTzEH9nnet4/+SDLBcdOQvI6Yht+4lWSNFMKP5u7xv0feDz8reJT6O0 LuWeOTB3eDlzhftYv0gixLEobOUXARZj6gfOPOovck9gszaxQ5Hn2+S0uYsyz9ru9FkQ p9g6Fqx8f/na65NHmnAsZ4jD5+YwGqSAwVFImDVR8Z5Uwcz82J2kfxqlN59fVFsH/Git Pb0A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1741648270; x=1742253070; h=user-agent:in-reply-to:content-disposition:mime-version:references :mail-followup-to:message-id:subject:to:from:date:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=hFNemLesvmfbAM5qjOM8gLkGZBc5Szh9kEvZ/Zbani4=; b=Nfu18hJBXhAS23DHKLPenx50Ddeb+gDjzNkflmGKVnqMQY/rnponJsI9tAngtbjqss w/BuRkddEjYsAo+M0odNtbe/mRt2XwUPZs0X45KvtGnG84j6fAERArxTD0K6etFebFEC 953xPUAg+BXEThchPeVBu6et4XOprfTeiYC9R3eqUe9jhcwYY4oHYqNwQYnheyUkHM7J bWIEWcLmWdztmvumMPPt+QEy4hfmCUa3HrO8jTspmXZMQ3D+Bbjey81MsJ/DG1cIGJL2 wmm4IngYGBwnw2fBG4+xyjO6y/orxq9pnxPsrkrB6Ks95VakDuLQB2ZrJdr7uDDV2RuR G2qQ== X-Gm-Message-State: AOJu0YwcYIBlzlPr/ISE6L/65FGpKDgi02D5pnjlXy7lkciOiKk0RSS2 21Wk8h10fnEwu1B1e3jo0vC0HWg2DIhXEopMBS5gjfIYsrizCemghhP86A== X-Gm-Gg: ASbGnctThtFzaEsiwBu+KadRwFrnjEOHzqUdUE/PdVOKZrY8/1bOogM4UHqXyZNIci1 AP2CxACdeEwOag82ddPWl+VKV3kt0U0Wi89KCdCSWHXx27n28O+i9K74G3w7J4Q45F58uvwR3Sk pz9A+wY+1trcsFAuIEezPR0KBwtNlpAbqAdPtk7RlDQ+3UhJbgBuyVPVq9sru0u+Eg+z4Wm+WgV Wku8V4TUHRcYonaRdetWQc2V6wPr9geO6xWxNZWdRFvyTAhTe7XgJe3pp7erdmq2gH0tjNfFnEw 94Dh7ubJz81+AMsRUFSyyUBjnk4gAFU/6eRGLueVhJe8Z7iaqB+4X7Wk7MhMQnrnWMmySMsqq1W aO6K8gRaR X-Google-Smtp-Source: AGHT+IF3+6Ua5dL1nf5VOXNkHvphtsqJn4Az+9C5Z8ftfKfvMc7jGHuc9+e4H5abRcH6rUV6J0y7IQ== X-Received: by 2002:a5d:5f45:0:b0:38d:d9bd:18a6 with SMTP id ffacd0b85a97d-39132dc545dmr11555976f8f.42.1741648269592; Mon, 10 Mar 2025 16:11:09 -0700 (PDT) Received: from mariano (dynamic-adsl-84-220-189-10.clienti.tiscali.it. [84.220.189.10]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-3912c015a29sm15998964f8f.42.2025.03.10.16.11.08 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 10 Mar 2025 16:11:08 -0700 (PDT) Received: by mariano (Postfix, from userid 1000) id 14E92BFCE8; Tue, 11 Mar 2025 00:11:07 +0100 (CET) Date: Tue, 11 Mar 2025 00:11:07 +0100 From: Stefano Sabatini To: FFmpeg development discussions and patches Message-ID: Mail-Followup-To: FFmpeg development discussions and patches References: MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: User-Agent: Mutt/2.1.4 (2021-12-11) Subject: Re: [FFmpeg-devel] [PATCH] avutil/refstruct: Fix documentation 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-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: ffmpeg-devel-bounces@ffmpeg.org Sender: "ffmpeg-devel" Archived-At: List-Archive: List-Post: On date Monday 2025-03-10 05:39:30 +0100, Andreas Rheinhardt wrote: > Patch attached. > > - Andreas > From 0601964cbc4a9b1e5d78b8a8da76f1259cc56b52 Mon Sep 17 00:00:00 2001 > From: Andreas Rheinhardt > Date: Mon, 10 Mar 2025 05:38:18 +0100 > Subject: [PATCH] avutil/refstruct: Fix documentation > > Signed-off-by: Andreas Rheinhardt > --- > libavutil/refstruct.h | 10 +++++----- > 1 file changed, 5 insertions(+), 5 deletions(-) > > diff --git a/libavutil/refstruct.h b/libavutil/refstruct.h > index 644d888284..967418bc16 100644 > --- a/libavutil/refstruct.h > +++ b/libavutil/refstruct.h > @@ -74,7 +74,7 @@ typedef union { > * the returned object is initially zeroed. > * > * @param size Desired usable size of the returned object. > - * @param flags A bitwise combination of av_refstruct_FLAG_* flags. > + * @param flags A bitwise combination of AV_REFSTRUCT_FLAG_* flags. > * @param opaque A pointer that will be passed to the free_cb callback. > * @param free_cb A callback for freeing this object's content > * when its reference count reaches zero; > @@ -205,7 +205,7 @@ typedef struct AVRefStructPool AVRefStructPool; > * provided, then free_cb will be called if init_cb fails. > * > * It will be called after reset_cb in case reset_cb and the > - * av_refstruct_POOL_FLAG_RESET_ON_INIT_ERROR flag are also set. > + * AV_REFSTRUCT_POOL_FLAG_RESET_ON_INIT_ERROR flag are also set. > * > * The object passed to free_cb will be in the state left by > * the callbacks applied earlier (init_cb potentially followed by reset_cb). > @@ -215,7 +215,7 @@ typedef struct AVRefStructPool AVRefStructPool; > * If this flag is set, the entries will be zeroed before > * being returned to the user (after the init or reset callbacks > * have been called (if provided)). Furthermore, to avoid zeroing twice > - * it also makes the pool behave as if the av_refstruct_POOL_FLAG_NO_ZEROING > + * it also makes the pool behave as if the AV_REFSTRUCT_POOL_FLAG_NO_ZEROING > * flag had been provided. > */ > #define AV_REFSTRUCT_POOL_FLAG_ZERO_EVERY_TIME (1 << 18) > @@ -229,11 +229,11 @@ AVRefStructPool *av_refstruct_pool_alloc(size_t size, unsigned flags); > * Allocate an AVRefStructPool, potentially using complex callbacks. > * > * @param size size of the entries of the pool > - * @param flags a bitwise combination of av_refstruct_POOL_FLAG_* flags > + * @param flags a bitwise combination of AV_REFSTRUCT_POOL_FLAG_* flags > * @param opaque A pointer that will be passed to the callbacks below. > * @param init A callback that will be called directly after a new entry > * has been allocated. obj has already been zeroed unless > - * the av_refstruct_POOL_FLAG_NO_ZEROING flag is in use. > + * the AV_REFSTRUCT_POOL_FLAG_NO_ZEROING flag is in use. > * @param reset A callback that will be called after an entry has been > * returned to the pool and before it is reused. > * @param free_entry A callback that will be called when an entry is freed > -- > 2.45.2 sure, thanks _______________________________________________ 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".