This is an automated email from the git hooks/post-receive script.
Git pushed a commit to branch master
in repository ffmpeg.
The following commit(s) were added to refs/heads/master by this push:
new fb088f224b avfilter/vf_vpp_amf: fix build on non-windows
fb088f224b is described below
commit fb088f224ba0a4a6b5a6c796841dd1b3e49b4f82
Author: Timo Rothenpieler <[email protected]>
AuthorDate: Wed Mar 11 14:12:24 2026 +0100
Commit: Timo Rothenpieler <[email protected]>
CommitDate: Wed Mar 11 14:12:26 2026 +0100
avfilter/vf_vpp_amf: fix build on non-windows
sscanf and sscanf_s are identical for pure number parsing anyway.
---
libavfilter/vf_vpp_amf.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/libavfilter/vf_vpp_amf.c b/libavfilter/vf_vpp_amf.c
index 5baaa503c4..c86325642a 100644
--- a/libavfilter/vf_vpp_amf.c
+++ b/libavfilter/vf_vpp_amf.c
@@ -160,7 +160,7 @@ static int amf_filter_config_output(AVFilterLink *outlink)
if (!ctx->master_display)
return AVERROR(ENOMEM);
- ret = sscanf_s(ctx->disp_master,
+ ret = sscanf(ctx->disp_master,
"G(%hu,%hu)B(%hu,%hu)R(%hu,%hu)WP(%hu,%hu)L(%u,%u)",
(uint16_t*)&ctx->master_display->display_primaries[1][0].num,
(uint16_t*)&ctx->master_display->display_primaries[1][1].num,
@@ -201,7 +201,7 @@ static int amf_filter_config_output(AVFilterLink *outlink)
if (!ctx->light_meta)
return AVERROR(ENOMEM);
- ret = sscanf_s(ctx->max_cll,
+ ret = sscanf(ctx->max_cll,
"%hu,%hu",
(uint16_t*)&ctx->light_meta->MaxCLL,
(uint16_t*)&ctx->light_meta->MaxFALL
_______________________________________________
ffmpeg-cvslog mailing list -- [email protected]
To unsubscribe send an email to [email protected]