From 4cba3e0f0710460ba9116781625c007598490bc7 Mon Sep 17 00:00:00 2001 From: James Almer Date: Sun, 29 Oct 2023 10:38:56 -0300 Subject: [PATCH] avutil/video_enc_params: fix doxy for av_video_enc_params_block() Reviewed-by: Anton Khirnov Signed-off-by: James Almer --- libavutil/video_enc_params.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libavutil/video_enc_params.h b/libavutil/video_enc_params.h index fc0c3bc1a5..62265a5c06 100644 --- a/libavutil/video_enc_params.h +++ b/libavutil/video_enc_params.h @@ -136,8 +136,8 @@ typedef struct AVVideoBlockParams { int32_t delta_qp; } AVVideoBlockParams; -/* - * Get the block at the specified {@code idx}. Must be between 0 and nb_blocks. +/** + * Get the block at the specified {@code idx}. Must be between 0 and nb_blocks - 1. */ static av_always_inline AVVideoBlockParams* av_video_enc_params_block(AVVideoEncParams *par, unsigned int idx)