From 9f78b7ea938d5ef492c2ab6536ed2b19c0c43411 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Rafa=C3=ABl=20Carr=C3=A9?= Date: Mon, 7 Dec 2009 17:54:47 +0100 Subject: [PATCH] x264: do not use void* with pointer arithmetic --- modules/codec/x264.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/codec/x264.c b/modules/codec/x264.c index df3f7fe127..44842b819e 100644 --- a/modules/codec/x264.c +++ b/modules/codec/x264.c @@ -1183,7 +1183,7 @@ static int Open ( vlc_object_t *p_this ) Close( VLC_OBJECT(p_enc) ); return VLC_ENOMEM; } - void *p_tmp = p_enc->fmt_out.p_extra; + uint8_t *p_tmp = p_enc->fmt_out.p_extra; for( i = 0; i < i_nal; i++ ) { memcpy( p_tmp, nal[i].p_payload, nal[i].i_payload ); -- 2.39.2