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