summaryrefslogtreecommitdiff
path: root/libavfilter/tests/filtfmts.c
diff options
context:
space:
mode:
Diffstat (limited to 'libavfilter/tests/filtfmts.c')
-rw-r--r--libavfilter/tests/filtfmts.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/libavfilter/tests/filtfmts.c b/libavfilter/tests/filtfmts.c
index d793480344..909c1e8dc9 100644
--- a/libavfilter/tests/filtfmts.c
+++ b/libavfilter/tests/filtfmts.c
@@ -59,8 +59,7 @@ static void print_formats_internal(AVFilterLink **links, const AVFilterPad *pads
for (unsigned j = 0; layouts && j < layouts->nb_channel_layouts; j++) {
char buf[256];
- av_get_channel_layout_string(buf, sizeof(buf), -1,
- layouts->channel_layouts[j]);
+ av_channel_layout_describe(&layouts->channel_layouts[j], buf, sizeof(buf));
printf("%s[%u] %s: chlayout:%s\n",
inout_string, i, pad_name, buf);
}