[vlc-commits] es_format: remove useless init
Thomas Guillem
git at videolan.org
Mon Nov 21 16:26:04 CET 2016
vlc | branch: master | Thomas Guillem <thomas at gllm.fr> | Mon Nov 21 16:24:14 2016 +0100| [9cc1042ef6b73573b5c8d7b42701386638199b23] | committer: Thomas Guillem
es_format: remove useless init
p_palette is already initialized from the memset
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=9cc1042ef6b73573b5c8d7b42701386638199b23
---
include/vlc_es.h | 1 -
1 file changed, 1 deletion(-)
diff --git a/include/vlc_es.h b/include/vlc_es.h
index 46c6582..4910b06 100644
--- a/include/vlc_es.h
+++ b/include/vlc_es.h
@@ -338,7 +338,6 @@ static inline void video_format_Init( video_format_t *p_src, vlc_fourcc_t i_chro
memset( p_src, 0, sizeof( video_format_t ) );
p_src->i_chroma = i_chroma;
p_src->i_sar_num = p_src->i_sar_den = 1;
- p_src->p_palette = NULL;
p_src->f_pose_fov_degrees = DEFAULT_FIELD_OF_VIEW_DEGREES;
}
More information about the vlc-commits
mailing list