[Mplayer-cvslog] CVS: main/Gui interface.c,1.46,1.47

Zoltan Ponekker pontscho at mplayerhq.hu
Fri Aug 30 21:32:46 CEST 2002


Update of /cvsroot/mplayer/main/Gui
In directory mail:/var/tmp.root/cvs-serv16127/Gui

Modified Files:
	interface.c 
Log Message:
upsz, 10l

Index: interface.c
===================================================================
RCS file: /cvsroot/mplayer/main/Gui/interface.c,v
retrieving revision 1.46
retrieving revision 1.47
diff -u -r1.46 -r1.47
--- interface.c	30 Aug 2002 19:11:01 -0000	1.46
+++ interface.c	30 Aug 2002 19:32:43 -0000	1.47
@@ -254,7 +254,7 @@
    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 @@
 
 // -- 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;




More information about the MPlayer-cvslog mailing list