[MPlayer-cvslog] r38654 - trunk/libvo/vo_x11.c
cigaes
subversion at mplayerhq.hu
Sat Sep 21 12:30:12 EEST 2024
Author: cigaes
Date: Sat Sep 21 12:30:12 2024
New Revision: 38654
Log:
libvo/vo_x11: explicit pointer casts
Recent compilers consider implicit casts an error.
Modified:
trunk/libvo/vo_x11.c
Modified: trunk/libvo/vo_x11.c
==============================================================================
--- trunk/libvo/vo_x11.c Sat Sep 21 12:30:11 2024 (r38653)
+++ trunk/libvo/vo_x11.c Sat Sep 21 12:30:12 2024 (r38654)
@@ -492,7 +492,7 @@ static int draw_slice(uint8_t * src[], i
dst[0] += dstStride[0] * (image_height - 1);
dstStride[0] = -dstStride[0];
}
- sws_scale(swsContext, src, stride, y, h, dst, dstStride);
+ sws_scale(swsContext, (const uint8_t *const *)src, stride, y, h, dst, dstStride);
return 0;
}
More information about the MPlayer-cvslog
mailing list