[MPlayer-cvslog] r38653 - trunk/libvo/vo_matrixview.c

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


Author: cigaes
Date: Sat Sep 21 12:30:11 2024
New Revision: 38653

Log:
libvo/vo_matrixview: explicit pointer casts

Recent compilers consider implicit casts an error.

Modified:
   trunk/libvo/vo_matrixview.c

Modified: trunk/libvo/vo_matrixview.c
==============================================================================
--- trunk/libvo/vo_matrixview.c	Sat Sep 21 12:30:10 2024	(r38652)
+++ trunk/libvo/vo_matrixview.c	Sat Sep 21 12:30:11 2024	(r38653)
@@ -170,7 +170,7 @@ static void flip_page(void)
 
 static int draw_slice(uint8_t *src[], int stride[], int w, int h, int x, int y)
 {
-    sws_scale(sws, src, stride, y, h, map_image, map_stride);
+    sws_scale(sws, (const uint8_t *const *)src, stride, y, h, map_image, map_stride);
     return 0;
 }
 


More information about the MPlayer-cvslog mailing list