[MPlayer-cvslog] r38645 - trunk/libmpcodecs/vd_ffmpeg.c
cigaes
subversion at mplayerhq.hu
Sat Sep 21 12:30:04 EEST 2024
Author: cigaes
Date: Sat Sep 21 12:30:04 2024
New Revision: 38645
Log:
libmpcodecs/vd_ffmpeg: explicit pointer casts
Recent compilers consider implicit casts an error.
Modified:
trunk/libmpcodecs/vd_ffmpeg.c
Modified: trunk/libmpcodecs/vd_ffmpeg.c
==============================================================================
--- trunk/libmpcodecs/vd_ffmpeg.c Sat Sep 21 12:30:04 2024 (r38644)
+++ trunk/libmpcodecs/vd_ffmpeg.c Sat Sep 21 12:30:04 2024 (r38645)
@@ -728,7 +728,7 @@ static int get_buffer(AVCodecContext *av
if (ctx->use_vdpau) {
VdpVideoSurface surface = (VdpVideoSurface)mpi->priv;
avctx->draw_horiz_band= NULL;
- mpi->planes[3] = surface;
+ mpi->planes[3] = (char *)surface;
}
#endif
More information about the MPlayer-cvslog
mailing list