[MPlayer-cvslog] r38646 - trunk/libmpcodecs/vf_pp.c

cigaes subversion at mplayerhq.hu
Sat Sep 21 12:30:05 EEST 2024


Author: cigaes
Date: Sat Sep 21 12:30:05 2024
New Revision: 38646

Log:
libmpcodecs/vf_pp: explicit pointer casts

Recent compilers consider implicit casts an error.

Modified:
   trunk/libmpcodecs/vf_pp.c

Modified: trunk/libmpcodecs/vf_pp.c
==============================================================================
--- trunk/libmpcodecs/vf_pp.c	Sat Sep 21 12:30:04 2024	(r38645)
+++ trunk/libmpcodecs/vf_pp.c	Sat Sep 21 12:30:05 2024	(r38646)
@@ -142,7 +142,7 @@ static int put_image(struct vf_instance
 
     if(vf->priv->pp || !(mpi->flags&MP_IMGFLAG_DIRECT)){
 	// do the postprocessing! (or copy if no DR)
-	pp_postprocess(mpi->planes           ,mpi->stride,
+	pp_postprocess((const uint8_t **)mpi->planes           ,mpi->stride,
 		    vf->dmpi->planes,vf->dmpi->stride,
 		    (mpi->w+7)&(~7),mpi->h,
 		    mpi->qscale, mpi->qstride,


More information about the MPlayer-cvslog mailing list