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>
This commit is contained in:
James Almer 2023-10-29 10:38:56 -03:00
parent 2532e832d2
commit 4cba3e0f07

View file

@ -136,8 +136,8 @@ typedef struct AVVideoBlockParams {
int32_t delta_qp; int32_t delta_qp;
} AVVideoBlockParams; } 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* static av_always_inline AVVideoBlockParams*
av_video_enc_params_block(AVVideoEncParams *par, unsigned int idx) av_video_enc_params_block(AVVideoEncParams *par, unsigned int idx)