[vlc-devel] [PATCH] swscale: fix warning

Tristan Matthews le.businessman at gmail.com
Wed Jun 11 00:58:41 CEST 2014


---
 modules/video_chroma/swscale.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/modules/video_chroma/swscale.c b/modules/video_chroma/swscale.c
index 7d6faf6..bb8c690 100644
--- a/modules/video_chroma/swscale.c
+++ b/modules/video_chroma/swscale.c
@@ -594,7 +594,7 @@ static void Convert( filter_t *p_filter, struct SwsContext *ctx,
     GetPixels( dst, dst_stride, p_dst, i_plane_start, i_plane_count, b_swap_uvo );
 
 #if LIBSWSCALE_VERSION_INT  >= ((0<<16)+(5<<8)+0)
-    sws_scale( ctx, src, src_stride, 0, i_height,
+    sws_scale( ctx, (const uint8_t * const*) src, src_stride, 0, i_height,
                dst, dst_stride );
 #else
     sws_scale_ordered( ctx, src, src_stride, 0, i_height,
-- 
1.9.3




More information about the vlc-devel mailing list