Added
Link Here
|
1 |
--- libmpcodecs/vd_ffmpeg.c.orig 2022-08-07 18:20:47 UTC |
2 |
+++ libmpcodecs/vd_ffmpeg.c |
3 |
@@ -739,7 +739,7 @@ static int get_buffer(AVCodecContext *avctx, AVFrame * |
4 |
if (ctx->use_vdpau) { |
5 |
VdpVideoSurface surface = (VdpVideoSurface)mpi->priv; |
6 |
avctx->draw_horiz_band= NULL; |
7 |
- mpi->planes[3] = surface; |
8 |
+ mpi->planes[3] = (unsigned char*)surface; |
9 |
} |
10 |
#endif |
11 |
#if CONFIG_XVMC |