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 DC7B14120F for ; Mon, 18 Jul 2022 16:11:33 +0000 (UTC) Received: from [127.0.1.1] (localhost [127.0.0.1]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTP id BD71668B8C9; Mon, 18 Jul 2022 19:11:18 +0300 (EEST) Received: from mail-wr1-f53.google.com (mail-wr1-f53.google.com [209.85.221.53]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTPS id 8CA4468B8B8 for ; Mon, 18 Jul 2022 19:11:12 +0300 (EEST) Received: by mail-wr1-f53.google.com with SMTP id bu1so17757548wrb.9 for ; Mon, 18 Jul 2022 09:11:12 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=BR7LL7H5WV6Yu1UeLA9+QKfrr0Ffwtpbq0P3TmovbQE=; b=RI97kbWBVVRBivvVKsm7eVXOLmughjucobkaAw+/axlkUI2GCdqvjsto3KGuH1puqr CHZmLCUc5c8cWthqEC2/EKd36uY7ZL6eBj3eSx76FUVYCB514tX5qcuYfwkpqgWTkIG7 FyH2nLCJhm3x0oZwHjUr1XFfAHGHYlO4LyKZ5fmHtsWDeyaZ6R9XG3a8eXIbLOLU5Eop RN3ewGzZuelAVEc1LZ1L60ELXrAW9ofZ1Lx81BtPhZj6ya2DTWqRVJ2+c7Y5YcAQnFTW Kfs0cPCjyzAizbNsA0aNqnM7KuGMscNKOwKP7i+aQOYi6LmJlwGycd512yvyq0PoawGe ePsA== X-Gm-Message-State: AJIora+xz9Sb0lb6y+fejfSbNUr+P1u4ITPi2Q/9PKP7AGYDEPzKGp1k WXLqVEQtUcEgM0bwZHPFoN3Cn14dz52XIA== X-Google-Smtp-Source: AGRyM1sd42TkSKXJVNSruUt4nXwOZ2Bu83EbNWVSFq9cgTxrRDHZNdIey5zbvPX/Q9N9bMZXx6zXGg== X-Received: by 2002:a5d:6f19:0:b0:21e:2dab:83b with SMTP id ay25-20020a5d6f19000000b0021e2dab083bmr141359wrb.139.1658160671740; Mon, 18 Jul 2022 09:11:11 -0700 (PDT) Received: from localhost.localdomain ([84.71.185.98]) by smtp.gmail.com with ESMTPSA id co18-20020a0560000a1200b0021b5861eaf7sm11228737wrb.3.2022.07.18.09.11.11 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 18 Jul 2022 09:11:11 -0700 (PDT) From: facefunk To: ffmpeg-devel@ffmpeg.org Date: Mon, 18 Jul 2022 17:08:33 +0100 Message-Id: <20220718160833.12397-4-facefunk@fcfnk.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20220718160833.12397-1-facefunk@fcfnk.com> References: <20220717133256.35929-1-facefunk@fcfnk.com> <20220718160833.12397-1-facefunk@fcfnk.com> MIME-Version: 1.0 Subject: [FFmpeg-devel] [PATCH 3/3] libavutil: Correct number of parameters in flag type options 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 Cc: facefunk 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: Signed-off-by: facefunk --- libavutil/opt.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libavutil/opt.h b/libavutil/opt.h index 461b5d3b6b..f250579b29 100644 --- a/libavutil/opt.h +++ b/libavutil/opt.h @@ -175,8 +175,8 @@ * above, put the following into the child_opts array: * @code * { "test_flags", "This is a test option of flags type.", - * offsetof(child_struct, flags_opt), AV_OPT_TYPE_FLAGS, { .i64 = 0 }, INT_MIN, INT_MAX, "test_unit" }, - * { "flag1", "This is a flag with value 16", 0, AV_OPT_TYPE_CONST, { .i64 = 16 }, 0, 0, "test_unit" }, + * offsetof(child_struct, flags_opt), AV_OPT_TYPE_FLAGS, { .i64 = 0 }, .unit = "test_unit" }, + * { "flag1", "This is a flag with value 16", 0, AV_OPT_TYPE_CONST, { .i64 = 16 }, .unit = "test_unit" }, * @endcode * * @section avoptions_use Using AVOptions -- 2.25.1 _______________________________________________ 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".