multimedia/mplayer: Fix build with clang 15
PR: 268789
Reported by: dim
MFH: 2023Q1
(cherry picked from commit 4a33de10dd
)
This commit is contained in:
parent
d80355c48b
commit
40def1889d
11
multimedia/mplayer/files/patch-libmpcodecs_vd__ffmpeg.c
Normal file
11
multimedia/mplayer/files/patch-libmpcodecs_vd__ffmpeg.c
Normal file
@ -0,0 +1,11 @@
|
||||
--- libmpcodecs/vd_ffmpeg.c.orig 2022-08-07 18:20:47 UTC
|
||||
+++ libmpcodecs/vd_ffmpeg.c
|
||||
@@ -739,7 +739,7 @@ static int get_buffer(AVCodecContext *avctx, AVFrame *
|
||||
if (ctx->use_vdpau) {
|
||||
VdpVideoSurface surface = (VdpVideoSurface)mpi->priv;
|
||||
avctx->draw_horiz_band= NULL;
|
||||
- mpi->planes[3] = surface;
|
||||
+ mpi->planes[3] = (unsigned char*)surface;
|
||||
}
|
||||
#endif
|
||||
#if CONFIG_XVMC
|
Loading…
Reference in New Issue
Block a user