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 5B8964A96E for ; Mon, 6 May 2024 15:27:36 +0000 (UTC) Received: from [127.0.1.1] (localhost [127.0.0.1]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTP id E0D8268D640; Mon, 6 May 2024 18:27:33 +0300 (EEST) Received: from mail-pl1-f172.google.com (mail-pl1-f172.google.com [209.85.214.172]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTPS id AA8AC68D4ED for ; Mon, 6 May 2024 18:27:27 +0300 (EEST) Received: by mail-pl1-f172.google.com with SMTP id d9443c01a7336-1ec92e355bfso19890825ad.3 for ; Mon, 06 May 2024 08:27:27 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1715009244; x=1715614044; darn=ffmpeg.org; h=content-transfer-encoding:mime-version:message-id:date:subject:to :from:from:to:cc:subject:date:message-id:reply-to; bh=TVgQRZA8OH7WDn7I53IC10tv6PyF/OmPyY2eP7k+5s4=; b=aetIccKzWeSjDjOmISIGd5E20R5PuINg9CR93pZZc7/5QO/15enz/+WXzeN3GAFD0b 4nSjVi1nv1orsKjQ1j/rs27YTtEm8dzBocEvj8Q667oZFZfub09VUv0SWYSQOsrtvUkR lfat+y3SaOqQI7CBxObIhMBvyfZaC8ZhqOt2+C6l5KgBDmGEVfVDifwt42wo/IlUSD53 io7lEE/CrPOdXQJrSfMDahWrRkr9b/htIuWmOk8KXT6DD1TICpf/3IdL+T+bpaCXiCpi 6jfeeK4WjgkW6SFWBxBKXNHMSM9XXOGCP5CXEzzlR/10hpNHRetiBQd0ZVC9xM4Npbz+ Ud2Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1715009244; x=1715614044; h=content-transfer-encoding:mime-version:message-id:date:subject:to :from:x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=TVgQRZA8OH7WDn7I53IC10tv6PyF/OmPyY2eP7k+5s4=; b=NFmLgK99pomyPz7P8Ryk5otWQ2YA4sdcR3bshQxS20Tj/kLeYhKPvciECJ2zkTQ/9F AFlj/M/3KP0tFKJHAekfiIhmfq0gBgHE8nkI0sUl9VeDFxyligeKLI0rk3xR+D49dSnL lCKMyiACa4Aq+bSpurc59FFsFMqXSZvyEwY+ywq6MNenLmoU/o3yWKX/o5oYKUaIzfE4 4MKdGejTbhYE7fnEmZcB0QKxGEo9huPUYL50oGF6hKqLWqBRbSri3pA6kwXbU+5WJ47W ktX3Yr/D8OdT3SeHIXWRcGPEw5ygRQVVEcptteQqV5RZVlnlQW8fU790R2ezjL0ZDo3u 1SFw== X-Gm-Message-State: AOJu0YyMzV82Hp0i4gdGJM4ePk/HHXhqrc9dIWMWDHHZo7FsW3Y+Jd/p h45mtmDbGQurtdGaoPdTihN1SsdrEr787gV2Qx9Fdtm1TiTHmRe/XTE8pg== X-Google-Smtp-Source: AGHT+IFKFo287srUkCNLvbI11G8lvn/oTUH3HxhtJKVLZ01a2dTT7cAHXlbUGspZo18mqCn9BtrMow== X-Received: by 2002:a17:902:db85:b0:1eb:1473:c878 with SMTP id m5-20020a170902db8500b001eb1473c878mr10457942pld.36.1715009243994; Mon, 06 May 2024 08:27:23 -0700 (PDT) Received: from localhost.localdomain ([190.194.167.233]) by smtp.gmail.com with ESMTPSA id x10-20020a170902820a00b001e0da190a07sm8429684pln.167.2024.05.06.08.27.22 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 06 May 2024 08:27:23 -0700 (PDT) From: James Almer To: ffmpeg-devel@ffmpeg.org Date: Mon, 6 May 2024 12:27:02 -0300 Message-ID: <20240506152704.1596-1-jamrial@gmail.com> X-Mailer: git-send-email 2.45.0 MIME-Version: 1.0 Subject: [FFmpeg-devel] [PATCH 1/3] avutil/opt: add a note about the av_opt_set_chlayout() behavior 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: Based on the one for av_opt_set_dict_val(). Signed-off-by: James Almer --- libavutil/opt.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/libavutil/opt.h b/libavutil/opt.h index 2d76ec6105..1b30a32317 100644 --- a/libavutil/opt.h +++ b/libavutil/opt.h @@ -797,6 +797,10 @@ int av_opt_set_image_size(void *obj, const char *name, int w, int h, int search_ int av_opt_set_pixel_fmt (void *obj, const char *name, enum AVPixelFormat fmt, int search_flags); int av_opt_set_sample_fmt(void *obj, const char *name, enum AVSampleFormat fmt, int search_flags); int av_opt_set_video_rate(void *obj, const char *name, AVRational val, int search_flags); +/** + * @note Any old chlayout present is discarded and replaced with a copy of the new one. The + * caller still owns layout is and responsible for uninitializing it. + */ int av_opt_set_chlayout(void *obj, const char *name, const AVChannelLayout *layout, int search_flags); /** * @note Any old dictionary present is discarded and replaced with a copy of the new one. The -- 2.45.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".