From 8d67e891ab3a312a9eede0fb5909019a39727eb6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Thomas=20Wei=C3=9Fschuh?= Date: Sat, 25 Feb 2023 04:53:54 +0000 Subject: vo_gpu_next: fix warning -Wunused-function --- video/out/vo_gpu_next.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'video/out') diff --git a/video/out/vo_gpu_next.c b/video/out/vo_gpu_next.c index fee22e5141..c09f9fafe9 100644 --- a/video/out/vo_gpu_next.c +++ b/video/out/vo_gpu_next.c @@ -422,6 +422,7 @@ static int plane_data_from_imgfmt(struct pl_plane_data out_data[4], return desc.num_planes; } +#ifdef PL_HAVE_LAV_HDR static inline void *get_side_data(const struct mp_image *mpi, enum AVFrameSideDataType type) { @@ -432,6 +433,7 @@ static inline void *get_side_data(const struct mp_image *mpi, return NULL; } +#endif static struct pl_color_space get_mpi_csp(struct vo *vo, struct mp_image *mpi) { -- cgit v1.2.3