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