From 414ddbd628724df3afc1e15f5e415dbb2c76a0b5 Mon Sep 17 00:00:00 2001 From: Dudemanguy Date: Fri, 8 Mar 2024 08:52:31 -0600 Subject: filters/f_lavfi: rename channellayout to ch_layout To better match upstream naming. --- filters/f_lavfi.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/filters/f_lavfi.c b/filters/f_lavfi.c index de3cd52a2a..afc9f2d445 100644 --- a/filters/f_lavfi.c +++ b/filters/f_lavfi.c @@ -1035,9 +1035,9 @@ static const char *get_avopt_type_name(enum AVOptionType type) case AV_OPT_TYPE_DURATION: return "duration"; case AV_OPT_TYPE_COLOR: return "color"; #if LIBAVUTIL_VERSION_MAJOR < 59 - case AV_OPT_TYPE_CHANNEL_LAYOUT: return "channellayout"; + case AV_OPT_TYPE_CHANNEL_LAYOUT: return "ch_layout"; #else - case AV_OPT_TYPE_CHLAYOUT: return "channellayout"; + case AV_OPT_TYPE_CHLAYOUT: return "ch_layout"; #endif case AV_OPT_TYPE_BOOL: return "bool"; case AV_OPT_TYPE_CONST: // fallthrough -- cgit v1.2.3