summaryrefslogtreecommitdiff
path: root/libavutil/tests
diff options
context:
space:
mode:
authorJames Almer <jamrial@gmail.com>2022-03-25 10:00:46 -0300
committerJames Almer <jamrial@gmail.com>2022-03-25 11:46:48 -0300
commitf9ed91abc9c70842ed385785b87c67bf54e67a6f (patch)
treee2dbdb79d20150dba9058207b94a30c8f5ee8818 /libavutil/tests
parent1e24fad8679aee7b6d746c97295856845cd9c6a6 (diff)
downloadffmpeg-f9ed91abc9c70842ed385785b87c67bf54e67a6f.tar.gz
avutil/tests/channel_layout: test generating a custom layout using ambisonic channels and a non diegetic channel with a custom name
Should increase test coverage a bit Signed-off-by: James Almer <jamrial@gmail.com>
Diffstat (limited to 'libavutil/tests')
-rw-r--r--libavutil/tests/channel_layout.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/libavutil/tests/channel_layout.c b/libavutil/tests/channel_layout.c
index 4830c4c730..89abd8b171 100644
--- a/libavutil/tests/channel_layout.c
+++ b/libavutil/tests/channel_layout.c
@@ -206,6 +206,8 @@ int main(void)
printf("With \"2 channels (FR+FL)\": %34s\n", bp.str);
CHANNEL_LAYOUT_FROM_STRING("ambisonic 1+FR+FL");
printf("With \"ambisonic 1+FR+FL\": %35s\n", bp.str);
+ CHANNEL_LAYOUT_FROM_STRING("ambisonic 2+FC@Foo");
+ printf("With \"ambisonic 2+FC@Foo\": %34s\n", bp.str);
CHANNEL_LAYOUT_FROM_STRING("FL@Foo+FR@Bar");
printf("With \"FL@Foo+FR@Bar\": %39s\n", bp.str);
CHANNEL_LAYOUT_FROM_STRING("FR+FL@Foo+USR63@Foo");