aboutsummaryrefslogtreecommitdiffhomepage
path: root/Gui
diff options
context:
space:
mode:
authorGravatar pontscho <pontscho@b3059339-0415-0410-9bf9-f77b7e298cf2>2002-08-30 19:32:43 +0000
committerGravatar pontscho <pontscho@b3059339-0415-0410-9bf9-f77b7e298cf2>2002-08-30 19:32:43 +0000
commit4de0098d017659bf6e97e1b463bbcdeef7dd847a (patch)
treed427ebd912cf11d6dfe92293053a49f186b2bd61 /Gui
parent25f8352ffe541d6548b0943164d3177c984d6368 (diff)
upsz, 10l
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7171 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'Gui')
-rw-r--r--Gui/interface.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/Gui/interface.c b/Gui/interface.c
index 9b08abf16e..76ff63102a 100644
--- a/Gui/interface.c
+++ b/Gui/interface.c
@@ -254,7 +254,7 @@ void guiLoadSubtitle( char * name )
mp_msg( MSGT_GPLAYER,MSGL_INFO,"[gui] Delete subtitles.\n" );
sub_free( subtitles );
subtitles=NULL;
- sub_name=NULL;
+ gfree( (void **)&sub_name );
vo_sub=NULL;
if ( vo_osd_list )
{
@@ -562,7 +562,7 @@ int guiGetEvent( int type,char * arg )
// -- subtitle
#ifdef USE_SUB
- sub_name=guiIntfStruct.Subtitlename;
+ sub_name=gstrdup( guiIntfStruct.Subtitlename );
stream_dump_type=0;
if ( gtkSubDumpMPSub ) stream_dump_type=4;
if ( gtkSubDumpSrt ) stream_dump_type=6;