[vlc-devel] [PATCH] psychedelic: remove dead code

Steve Lhomme robux4 at videolabs.io
Wed Jul 12 16:51:14 CEST 2017


The fmt_out will be a shallow copy of p_filter->fmt_out.video
---
 modules/video_filter/psychedelic.c | 2 --
 1 file changed, 2 deletions(-)

diff --git a/modules/video_filter/psychedelic.c b/modules/video_filter/psychedelic.c
index 3619a81c65..06b8b2d263 100644
--- a/modules/video_filter/psychedelic.c
+++ b/modules/video_filter/psychedelic.c
@@ -143,8 +143,6 @@ static picture_t *Filter( filter_t *p_filter, picture_t *p_pic )
 
     picture_t *p_converted;
     video_format_t fmt_out;
-    memset( &fmt_out, 0, sizeof(video_format_t) );
-    fmt_out.p_palette = NULL;
 
     if( !p_pic ) return NULL;
 
-- 
2.12.1



More information about the vlc-devel mailing list