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 C0E29481FA for ; Fri, 12 Jan 2024 23:47:25 +0000 (UTC) Received: from [127.0.1.1] (localhost [127.0.0.1]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTP id 5677D68CE06; Sat, 13 Jan 2024 01:47:22 +0200 (EET) Received: from mail-io1-f100.google.com (mail-io1-f100.google.com [209.85.166.100]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTPS id 96C4B68CB56 for ; Sat, 13 Jan 2024 01:47:16 +0200 (EET) Received: by mail-io1-f100.google.com with SMTP id ca18e2360f4ac-7bed9fb159fso138321339f.1 for ; Fri, 12 Jan 2024 15:47:16 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=proxyid.net; s=google; t=1705103235; x=1705708035; darn=ffmpeg.org; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=mmxAg1IUjMt+Fh0/iBsfjrkh2J9ZKEQRlWp8z873QXs=; b=iH+62dvy5Ip0tfFVjmbZZldWj6s2lWG62gPM0uKuEVXB9YP8pMUeUcYL7XVQu9mebx kHFm2sb/UhWQRLv1AsJPFSizQlBXDj+lDuwXLqZCYDMoINbZHjL3v5HreWiydAcOLNAu NCs9zrw+T2D4OSJPvxZ+v+WMmkNIoLQgD4s79zidoOk0UiIXOf5/olXBQHwtzO2gZNHC yJ23RBzxPxJXX5xt/MtsZcPqU0FOgC8RMTGEXj+dy2adQzS5RD/uktUqj2mRlZSGOR/P JOxl825t66uRJv+Dgf99aHguiF8A6sPhVvoWtwIaRKPb/+X2g5QQACmVkX/7qoDpxCyP bIQA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1705103235; x=1705708035; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=mmxAg1IUjMt+Fh0/iBsfjrkh2J9ZKEQRlWp8z873QXs=; b=Q3AE5C3UaDRfYpEiE5cDv0/k/MRlhjH+KBlTB/9TSq3BotbBAz4NpQPSt6QPDsDiXt 5JFGBLa8KimZGN/E8INV/JXvV54nmvE7MjF29QjlqD26VNohm4S+dI0BXVWEBvK2hvC/ jpPUMgS4WDVUAQ/E6TEtbjULztms0wLtNG+u3fNlGtNC5BpG/jm6DqRbaqlhBkQqjq1y Dki5Xdn0Rm8Jbior3OSoV7v3oGkVMWnfh2c4yCWYnpTXPlG6ZyQgAL2REVqhC8wSBnp0 bX/TzhjMjAcDGDp+cj713o/6DQTlTNbPk/6zB8zfn9ybEBsYfmGHZpnVkM0S6Mf5cfQm YYIg== X-Gm-Message-State: AOJu0YwGDYWxiqQUUmE66LxuVrmNdcHLOcVhktfA/l4V8+KzoukWo8Mu bt0LdTZIZoN7RjD9RAFd4s5rFXTlQXMUttV8y1xgrdDDt2FFu958ncvxZXwuctw0OA== X-Google-Smtp-Source: AGHT+IEUPcJuoF3gtvbAzLEff/iBMe1T/XmmDy+LWuMRp69I49roKFhpgolXwHdbIbN/u6lU7hh0u+XlZiGz X-Received: by 2002:a5e:c242:0:b0:7be:ea3e:a261 with SMTP id w2-20020a5ec242000000b007beea3ea261mr2349934iop.32.1705103234747; Fri, 12 Jan 2024 15:47:14 -0800 (PST) Received: from wsx-cc1-001.. (104-179-117-51.lightspeed.cicril.sbcglobal.net. [104.179.117.51]) by smtp-relay.gmail.com with ESMTPS id a21-20020a029995000000b0046ce8d5d493sm119285jal.23.2024.01.12.15.47.14 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 12 Jan 2024 15:47:14 -0800 (PST) X-Relaying-Domain: proxyid.net From: Marth64 To: ffmpeg-devel@ffmpeg.org Date: Fri, 12 Jan 2024 17:47:02 -0600 Message-Id: <20240112234701.2711503-1-marth64@proxyid.net> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 Subject: [FFmpeg-devel] [PATCH] libavutil/timecode: fix parameter order in 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: Marth64 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: Marth64 --- libavutil/timecode.h | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/libavutil/timecode.h b/libavutil/timecode.h index 060574a172..fe0fc83576 100644 --- a/libavutil/timecode.h +++ b/libavutil/timecode.h @@ -98,8 +98,8 @@ uint32_t av_timecode_get_smpte(AVRational rate, int drop, int hh, int mm, int ss /** * Load timecode string in buf. * - * @param buf destination buffer, must be at least AV_TIMECODE_STR_SIZE long * @param tc timecode data correctly initialized + * @param buf destination buffer, must be at least AV_TIMECODE_STR_SIZE long * @param framenum frame number * @return the buf parameter * @@ -149,13 +149,13 @@ char *av_timecode_make_mpeg_tc_string(char *buf, uint32_t tc25bit); /** * Init a timecode struct with the passed parameters. * - * @param log_ctx a pointer to an arbitrary struct of which the first field - * is a pointer to an AVClass struct (used for av_log) * @param tc pointer to an allocated AVTimecode * @param rate frame rate in rational form * @param flags miscellaneous flags such as drop frame, +24 hours, ... * (see AVTimecodeFlag) * @param frame_start the first frame number + * @param log_ctx a pointer to an arbitrary struct of which the first field + * is a pointer to an AVClass struct (used for av_log) * @return 0 on success, AVERROR otherwise */ int av_timecode_init(AVTimecode *tc, AVRational rate, int flags, int frame_start, void *log_ctx); @@ -163,8 +163,6 @@ int av_timecode_init(AVTimecode *tc, AVRational rate, int flags, int frame_start /** * Init a timecode struct from the passed timecode components. * - * @param log_ctx a pointer to an arbitrary struct of which the first field - * is a pointer to an AVClass struct (used for av_log) * @param tc pointer to an allocated AVTimecode * @param rate frame rate in rational form * @param flags miscellaneous flags such as drop frame, +24 hours, ... @@ -173,6 +171,8 @@ int av_timecode_init(AVTimecode *tc, AVRational rate, int flags, int frame_start * @param mm minutes * @param ss seconds * @param ff frames + * @param log_ctx a pointer to an arbitrary struct of which the first field + * is a pointer to an AVClass struct (used for av_log) * @return 0 on success, AVERROR otherwise */ int av_timecode_init_from_components(AVTimecode *tc, AVRational rate, int flags, int hh, int mm, int ss, int ff, void *log_ctx); @@ -180,11 +180,11 @@ int av_timecode_init_from_components(AVTimecode *tc, AVRational rate, int flags, /** * Parse timecode representation (hh:mm:ss[:;.]ff). * - * @param log_ctx a pointer to an arbitrary struct of which the first field is a - * pointer to an AVClass struct (used for av_log). * @param tc pointer to an allocated AVTimecode * @param rate frame rate in rational form * @param str timecode string which will determine the frame start + * @param log_ctx a pointer to an arbitrary struct of which the first field is a + * pointer to an AVClass struct (used for av_log). * @return 0 on success, AVERROR otherwise */ int av_timecode_init_from_string(AVTimecode *tc, AVRational rate, const char *str, void *log_ctx); -- 2.34.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".