[vlc-commits] remoteosd: remove unused variable
Rémi Denis-Courmont
git at videolan.org
Thu Jul 9 20:34:17 CEST 2015
vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Thu Jul 9 20:05:50 2015 +0300| [bcc5917f919fe8c6ea2eb77e3408596e4c921cca] | committer: Rémi Denis-Courmont
remoteosd: remove unused variable
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=bcc5917f919fe8c6ea2eb77e3408596e4c921cca
---
modules/video_filter/remoteosd.c | 6 +-----
1 file changed, 1 insertion(+), 5 deletions(-)
diff --git a/modules/video_filter/remoteosd.c b/modules/video_filter/remoteosd.c
index cd5b1be..0ea880f 100644
--- a/modules/video_filter/remoteosd.c
+++ b/modules/video_filter/remoteosd.c
@@ -221,7 +221,6 @@ struct filter_sys_t
uint16_t i_vnc_width; /* The with of the VNC screen */
uint16_t i_vnc_height; /* The height of the VNC screen */
- uint32_t i_vnc_pixels; /* The pixels of the VNC screen */
bool b_alpha_from_vnc; /* Special ffnetdev alpha feature enabled ? */
@@ -657,14 +656,11 @@ static void* vnc_worker_thread( void *obj )
vlc_mutex_lock( &p_sys->lock );
p_sys->p_pic = picture_New( VLC_CODEC_YUVA,
p_sys->i_vnc_width, p_sys->i_vnc_height, 1, 1 );
+ vlc_mutex_unlock( &p_sys->lock );
if( !p_sys->p_pic )
{
- vlc_mutex_unlock( &p_sys->lock );
goto exit;
}
- p_sys->i_vnc_pixels = p_sys->i_vnc_width * p_sys->i_vnc_height;
-
- vlc_mutex_unlock( &p_sys->lock );
write_update_request( p_filter, false );
More information about the vlc-commits
mailing list