[vlc-commits] video_filter:scene: remove dead code

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


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

video_filter:scene: remove dead code

fmt_int will be set to p_pic->format later

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

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

 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 */



More information about the vlc-commits mailing list