[FFmpeg-cvslog] avcodec/ffv1enc_vulkan: add missing arguent to ff_ffv1_common_init()

James Almer git at videolan.org
Thu Feb 6 22:04:25 EET 2025


ffmpeg | branch: master | James Almer <jamrial at gmail.com> | Thu Feb  6 17:02:44 2025 -0300| [19045957affc0ae7ea1292cf79a670ef6f4d23b2] | committer: James Almer

avcodec/ffv1enc_vulkan: add missing arguent to ff_ffv1_common_init()

Missed in 3d3ce9647f9b7a002080c7af12be654a90d2ba7c.

Found-by: kasper93
Signed-off-by: James Almer <jamrial at gmail.com>

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

 libavcodec/ffv1enc_vulkan.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libavcodec/ffv1enc_vulkan.c b/libavcodec/ffv1enc_vulkan.c
index 243f472568..5fb6bc3237 100644
--- a/libavcodec/ffv1enc_vulkan.c
+++ b/libavcodec/ffv1enc_vulkan.c
@@ -1468,7 +1468,7 @@ static av_cold int vulkan_encode_ffv1_init(AVCodecContext *avctx)
     FFV1Context *f = &fv->ctx;
     FFVkSPIRVCompiler *spv;
 
-    if ((err = ff_ffv1_common_init(avctx)) < 0)
+    if ((err = ff_ffv1_common_init(avctx, f)) < 0)
         return err;
 
     if (f->ac == 1)



More information about the ffmpeg-cvslog mailing list