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

James Almer git at videolan.org
Sat Nov 11 01:36:14 EET 2023


ffmpeg | branch: release/6.1 | James Almer <jamrial at gmail.com> | Sun Oct 29 10:38:56 2023 -0300| [d4ff0020b40b524a490cf62eccbd3a318f4c0e58] | committer: James Almer

avutil/video_enc_params: fix doxy for av_video_enc_params_block()

Reviewed-by: Anton Khirnov <anton at khirnov.net>
Signed-off-by: James Almer <jamrial at gmail.com>
(cherry picked from commit 4cba3e0f0710460ba9116781625c007598490bc7)

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=d4ff0020b40b524a490cf62eccbd3a318f4c0e58
---

 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)



More information about the ffmpeg-cvslog mailing list