diff mbox series

[FFmpeg-devel] avutil/video_enc_params: fix doxy for av_video_enc_params_block()

Message ID 20231029133900.1972-1-jamrial@gmail.com
State Accepted
Commit 4cba3e0f0710460ba9116781625c007598490bc7
Headers show
Series [FFmpeg-devel] avutil/video_enc_params: fix doxy for av_video_enc_params_block() | expand

Checks

Context Check Description
yinshiyou/make_loongarch64 success Make finished
yinshiyou/make_fate_loongarch64 success Make fate finished
andriy/make_x86 success Make finished
andriy/make_fate_x86 success Make fate finished

Commit Message

James Almer Oct. 29, 2023, 1:39 p.m. UTC
Signed-off-by: James Almer <jamrial@gmail.com>
---
 libavutil/video_enc_params.h | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
diff mbox series

Patch

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)