]> git.sesse.net Git - vlc/commitdiff
Fixed wince compilation.
authorLaurent Aimar <fenrir@videolan.org>
Mon, 28 Sep 2009 19:13:47 +0000 (21:13 +0200)
committerLaurent Aimar <fenrir@videolan.org>
Mon, 28 Sep 2009 19:13:47 +0000 (21:13 +0200)
modules/video_output/msw/events.c

index 33a5bf8e9075ea39ccc02dc00e552a384076be28..327f09e6ba844ec4f48c53c6d7f0cc285023835e 100644 (file)
@@ -804,6 +804,8 @@ static long FAR PASCAL DirectXEventProc( HWND hwnd, UINT message,
         if( p_vout->p_sys->hparent &&
             hwnd != p_vout->p_sys->hfswnd && p_vout->b_fullscreen )
         {
         if( p_vout->p_sys->hparent &&
             hwnd != p_vout->p_sys->hfswnd && p_vout->b_fullscreen )
         {
+            event_thread_t *p_event = p_vout->p_sys->p_event;
+
             vlc_mutex_lock( &p_event->lock );
             p_event->i_changes |= VOUT_FULLSCREEN_CHANGE;
             vlc_mutex_unlock( &p_event->lock );
             vlc_mutex_lock( &p_event->lock );
             p_event->i_changes |= VOUT_FULLSCREEN_CHANGE;
             vlc_mutex_unlock( &p_event->lock );