From 072d0ac8369341e20f85d30529132c432b36f23d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kacper=20Michaj=C5=82ow?= Date: Mon, 20 May 2024 21:16:47 +0200 Subject: [PATCH] mp_image: remove unneeded PL_HAVE_LIBDOVI check This function is always available, if libplacebo is compiled without libdovi it is no-op. --- video/mp_image.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/video/mp_image.c b/video/mp_image.c index 609fb17bf0..35b302d328 100644 --- a/video/mp_image.c +++ b/video/mp_image.c @@ -1116,10 +1116,8 @@ struct mp_image *mp_image_from_av_frame(struct AVFrame *src) sd = av_frame_get_side_data(src, AV_FRAME_DATA_DOVI_RPU_BUFFER); if (sd) { -#ifdef PL_HAVE_LIBDOVI pl_hdr_metadata_from_dovi_rpu(&dst->params.color.hdr, sd->buf->data, sd->buf->size); -#endif } #endif