1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2025-08-04 22:03:09 +02:00

avcodec/proresenc_kostya: Don't cast const away needlessly

The parameter passed here is unused, so just pass NULL.

Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
This commit is contained in:
Andreas Rheinhardt
2025-03-17 13:20:49 +01:00
parent d76ae08048
commit 4505257372

View File

@ -1033,7 +1033,7 @@ static int encode_frame(AVCodecContext *avctx, AVPacket *pkt,
// slices
if (!ctx->force_quant) {
ret = avctx->execute2(avctx, find_quant_thread, (void*)pic, NULL,
ret = avctx->execute2(avctx, find_quant_thread, NULL, NULL,
ctx->mb_height);
if (ret)
return ret;