[FFmpeg-cvslog] avfilter/vf_amf_common: fix build
Timo Rothenpieler
git at videolan.org
Mon Feb 10 15:32:41 EET 2025
ffmpeg | branch: master | Timo Rothenpieler <timo at rothenpieler.org> | Mon Feb 10 14:32:23 2025 +0100| [d6a364e7c39b52375c2e9e36ee59935bb418543c] | committer: Timo Rothenpieler
avfilter/vf_amf_common: fix build
AMF was forgotten in a28dc06869fe1f98c07e42f9b0a411d2744ff7d7
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=d6a364e7c39b52375c2e9e36ee59935bb418543c
---
libavfilter/vf_amf_common.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/libavfilter/vf_amf_common.c b/libavfilter/vf_amf_common.c
index 9c48b4218e..fbf364eac1 100644
--- a/libavfilter/vf_amf_common.c
+++ b/libavfilter/vf_amf_common.c
@@ -282,7 +282,7 @@ int amf_init_filter_config(AVFilterLink *outlink, enum AVPixelFormat *in_format)
return err;
ff_scale_adjust_dimensions(inlink, &ctx->width, &ctx->height,
- ctx->force_original_aspect_ratio, ctx->force_divisible_by);
+ ctx->force_original_aspect_ratio, ctx->force_divisible_by, 1.0);
av_buffer_unref(&ctx->amf_device_ref);
av_buffer_unref(&ctx->hwframes_in_ref);
More information about the ffmpeg-cvslog
mailing list