Commit b6156e1b authored by Steve Lhomme's avatar Steve Lhomme Committed by Jean-Baptiste Kempf

vout_intf: remove local write-only variable

Signed-off-by: Jean-Baptiste Kempf's avatarJean-Baptiste Kempf <jb@videolan.org>
parent 36da65bb
......@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment