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

James Almer jamrial at gmail.com
Sun Oct 29 15:39:00 EET 2023


Signed-off-by: James Almer <jamrial at gmail.com>
---
 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)
-- 
2.42.0



More information about the ffmpeg-devel mailing list