diff options
author | Thomas Weißschuh <thomas@t-8ch.de> | 2023-02-25 04:53:54 +0000 |
---|---|---|
committer | sfan5 <sfan5@live.de> | 2023-02-26 16:45:07 +0100 |
commit | 8d67e891ab3a312a9eede0fb5909019a39727eb6 (patch) | |
tree | 0c5aa2a91e7e2e3b7eeeac1b7ae973e2941ac5d3 /video/out | |
parent | b4ae1551e425aba7e01a9614b0b16e5b5f0bd8df (diff) | |
download | mpv-8d67e891ab3a312a9eede0fb5909019a39727eb6.tar.bz2 mpv-8d67e891ab3a312a9eede0fb5909019a39727eb6.tar.xz |
vo_gpu_next: fix warning -Wunused-function
Diffstat (limited to 'video/out')
-rw-r--r-- | video/out/vo_gpu_next.c | 2 |
1 files changed, 2 insertions, 0 deletions
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) { |