Commit 9e3b53ac authored by Jean-Baptiste Kempf's avatar Jean-Baptiste Kempf

WinGDI: kill warning

parent 46a07106
...@@ -141,8 +141,7 @@ static int OpenVideo ( vlc_object_t *p_this ) ...@@ -141,8 +141,7 @@ static int OpenVideo ( vlc_object_t *p_this )
p_vout->p_sys->render_height = p_vout->render.i_height; p_vout->p_sys->render_height = p_vout->render.i_height;
#endif #endif
p_vout->p_sys->p_event = (vlc_object_t *) p_vout->p_sys->p_event = vlc_object_create( p_vout, sizeof( event_thread_t ) );
vlc_object_create( p_vout, sizeof( vlc_object_t ) );
if( !p_vout->p_sys->p_event ) if( !p_vout->p_sys->p_event )
{ {
free( p_vout->p_sys ); free( p_vout->p_sys );
......
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