1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2024-12-28 20:53:54 +02:00

lavfi/vf_libplacebo: don't intrude on pl_ namespace

No reason to use this prefix here.
This commit is contained in:
Niklas Haas 2023-05-21 13:38:42 +02:00
parent 21715ecff1
commit 877ccaf776

View File

@ -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,