[vlc-devel] [PATCH 1/3] vlc_es: remove useless line

Steve Lhomme robux4 at videolabs.io
Thu Apr 7 16:23:29 CEST 2016


---
 include/vlc_es.h | 1 -
 1 file changed, 1 deletion(-)

diff --git a/include/vlc_es.h b/include/vlc_es.h
index 97cdb78..cbd03e5 100644
--- a/include/vlc_es.h
+++ b/include/vlc_es.h
@@ -261,7 +261,6 @@ static inline void video_format_Clean( video_format_t *p_src )
 {
     free( p_src->p_palette );
     memset( p_src, 0, sizeof( video_format_t ) );
-    p_src->p_palette = NULL;
 }
 
 /**
-- 
2.7.1



More information about the vlc-devel mailing list