From bdc4553a7726d779e64f734b8cacfd5b9e293fb7 Mon Sep 17 00:00:00 2001 From: Andreas Rheinhardt Date: Sun, 6 Aug 2023 11:49:05 +0200 Subject: [PATCH] avutil/tests/channel_layout: Don't include lavu/channel_layout.c This test does not need access to the internals of said compilation unit. Reviewed-by: Nicolas George Reviewed-by: James Almer Signed-off-by: Andreas Rheinhardt --- libavutil/tests/channel_layout.c | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/libavutil/tests/channel_layout.c b/libavutil/tests/channel_layout.c index 665ae6e277..19f552f8bc 100644 --- a/libavutil/tests/channel_layout.c +++ b/libavutil/tests/channel_layout.c @@ -18,7 +18,13 @@ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA */ -#include "libavutil/channel_layout.c" +#include +#include +#include + +#include "libavutil/bprint.h" +#include "libavutil/channel_layout.h" +#include "libavutil/internal.h" #include "libavutil/mem.h" #define BPRINT_ARGS1(bp, ...) (bp), __VA_ARGS__