From 877ccaf776c92866e17493b48da49fab5b9ef11a Mon Sep 17 00:00:00 2001 From: Niklas Haas Date: Sun, 21 May 2023 13:38:42 +0200 Subject: [PATCH] lavfi/vf_libplacebo: don't intrude on pl_ namespace No reason to use this prefix here. --- libavfilter/vf_libplacebo.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libavfilter/vf_libplacebo.c b/libavfilter/vf_libplacebo.c index 27b65cdb5b..65fe6ef746 100644 --- a/libavfilter/vf_libplacebo.c +++ b/libavfilter/vf_libplacebo.c @@ -269,7 +269,7 @@ static void pl_av_log(void *log_ctx, enum pl_log_level level, const char *msg) av_log(log_ctx, av_lev, "%s\n", msg); } -static const struct pl_tone_map_function *pl_get_tonemapping_func(int tm) { +static const struct pl_tone_map_function *get_tonemapping_func(int tm) { switch (tm) { case TONE_MAP_AUTO: return &pl_tone_map_auto; case TONE_MAP_CLIP: return &pl_tone_map_clip; @@ -427,7 +427,7 @@ static int update_settings(AVFilterContext *ctx) .tone_mapping_mode = s->tonemapping_mode, .tone_mapping_crosstalk = s->crosstalk, #endif - .tone_mapping_function = pl_get_tonemapping_func(s->tonemapping), + .tone_mapping_function = get_tonemapping_func(s->tonemapping), .tone_mapping_param = s->tonemapping_param, .inverse_tone_mapping = s->inverse_tonemapping, .lut_size = s->tonemapping_lut_size,