[vlc-commits] psychedelic: remove dead code

Steve Lhomme git at videolan.org
Thu Jul 13 11:10:43 CEST 2017


vlc | branch: master | Steve Lhomme <robux4 at videolabs.io> | Tue Jul 11 13:36:33 2017 +0200| [37bf4eea92b01a1f7e72878766e21445c375922a] | committer: Jean-Baptiste Kempf

psychedelic: remove dead code

The fmt_out will be a shallow copy of p_filter->fmt_out.video

Signed-off-by: Jean-Baptiste Kempf <jb at videolan.org>

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=37bf4eea92b01a1f7e72878766e21445c375922a
---

 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;
 



More information about the vlc-commits mailing list