Commit 5df1e434 authored by Jean-Baptiste Kempf's avatar Jean-Baptiste Kempf

libass/win32: Factorize

(cherry picked from commit d8e03df80c812d7389753ae7aaa601e8d8f18d3a)
Signed-off-by: default avatarJean-Baptiste Kempf <jb@videolan.org>
parent 7c350952
......@@ -732,7 +732,11 @@ static ass_handle_t *AssHandleHold( decoder_t *p_dec )
#endif
#ifdef WIN32
if( p_dialog )
{
dialog_ProgressSet( p_dialog, NULL, 1.0 );
dialog_ProgressDestroy( p_dialog );
p_dialog = NULL;
}
#endif
#else
/* FIXME you HAVE to give him a font if no fontconfig */
......@@ -750,10 +754,6 @@ static ass_handle_t *AssHandleHold( decoder_t *p_dec )
/* */
vlc_mutex_unlock( &libass_lock );
#ifdef WIN32
if( p_dialog )
dialog_ProgressDestroy( p_dialog );
#endif
return p_ass;
error:
......
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