[vlc-commits] vout_intf: remove local write-only variable

Steve Lhomme git at videolan.org
Fri Jul 21 14:12:39 CEST 2017


vlc | branch: master | Steve Lhomme <robUx4 at videolabs.io> | Wed Jul 12 16:51:22 2017 +0200| [b6156e1b3a14fafd55c9f5b027032acefa29a568] | committer: Jean-Baptiste Kempf

vout_intf: remove local write-only variable

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

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

 src/video_output/vout_intf.c | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/src/video_output/vout_intf.c b/src/video_output/vout_intf.c
index 631099c3ee..459e8d8555 100644
--- a/src/video_output/vout_intf.c
+++ b/src/video_output/vout_intf.c
@@ -381,11 +381,10 @@ static void VoutSaveSnapshot( vout_thread_t *p_vout )
     /* */
     picture_t *p_picture;
     block_t *p_image;
-    video_format_t fmt;
 
     /* 500ms timeout
      * XXX it will cause trouble with low fps video (< 2fps) */
-    if( vout_GetSnapshot( p_vout, &p_image, &p_picture, &fmt, psz_format, 500*1000 ) )
+    if( vout_GetSnapshot( p_vout, &p_image, &p_picture, NULL, psz_format, 500*1000 ) )
     {
         p_picture = NULL;
         p_image = NULL;



More information about the vlc-commits mailing list