[vlc-devel] [PATCH] video_filter:scene: remove dead code

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


fmt_int will be set to p_pic->format later
---
 modules/video_filter/scene.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/modules/video_filter/scene.c b/modules/video_filter/scene.c
index 9f920bf231..6ed0bfe622 100644
--- a/modules/video_filter/scene.c
+++ b/modules/video_filter/scene.c
@@ -280,7 +280,6 @@ static void SavePicture( filter_t *p_filter, picture_t *p_pic )
     char *psz_temp = NULL;
     int i_ret;
 
-    memset( &fmt_in, 0, sizeof(video_format_t) );
     memset( &fmt_out, 0, sizeof(video_format_t) );
 
     /* Save snapshot psz_format to a memory zone */
-- 
2.12.1



More information about the vlc-devel mailing list