summaryrefslogtreecommitdiff
path: root/libavutil/video_enc_params.h
diff options
context:
space:
mode:
authorJames Almer <jamrial@gmail.com>2023-10-29 10:38:56 -0300
committerJames Almer <jamrial@gmail.com>2023-10-30 10:30:05 -0300
commit4cba3e0f0710460ba9116781625c007598490bc7 (patch)
treecf3aba3bb661870bfd08b7f106c390f28ba81ec1 /libavutil/video_enc_params.h
parent2532e832d2773d9d09574434f84decebcf6f81a1 (diff)
avutil/video_enc_params: fix doxy for av_video_enc_params_block()
Reviewed-by: Anton Khirnov <anton@khirnov.net> Signed-off-by: James Almer <jamrial@gmail.com>
Diffstat (limited to 'libavutil/video_enc_params.h')
-rw-r--r--libavutil/video_enc_params.h4
1 files 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)