[vlc-devel] [PATCH] swscale: fix warning
Rémi Denis-Courmont
remi at remlab.net
Wed Jun 11 08:49:48 CEST 2014
Le 2014-06-11 06:58, Tristan Matthews a écrit :
> ---
> 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 );
Are you sure? That does not seem like a valid cast to me.
> #else
> sws_scale_ordered( ctx, src, src_stride, 0, i_height,
--
Rémi Denis-Courmont
More information about the vlc-devel
mailing list