[FFmpeg-cvslog] avcodec/proresenc_kostya: Don't cast const away needlessly
Andreas Rheinhardt
git at videolan.org
Thu Mar 20 09:10:15 EET 2025
ffmpeg | branch: master | Andreas Rheinhardt <andreas.rheinhardt at outlook.com> | Mon Mar 17 13:20:49 2025 +0100| [45052573723549d0cc54f63da28dea0d3a8c859b] | committer: Andreas Rheinhardt
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 at outlook.com>
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=45052573723549d0cc54f63da28dea0d3a8c859b
---
libavcodec/proresenc_kostya.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/libavcodec/proresenc_kostya.c b/libavcodec/proresenc_kostya.c
index ca26c59a4a..b98bc5c195 100644
--- a/libavcodec/proresenc_kostya.c
+++ b/libavcodec/proresenc_kostya.c
@@ -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;
More information about the ffmpeg-cvslog
mailing list