summaryrefslogtreecommitdiffstats
path: root/Gui
diff options
context:
space:
mode:
authorpontscho <pontscho@b3059339-0415-0410-9bf9-f77b7e298cf2>2003-01-19 22:46:39 +0000
committerpontscho <pontscho@b3059339-0415-0410-9bf9-f77b7e298cf2>2003-01-19 22:46:39 +0000
commit28e76c9d1f76219a4b4aad5dc9573c16868d1b62 (patch)
treeef7a66ebe178eedc0aecb6e3d2e72d2e828b9434 /Gui
parent15e32ab3b7ddc7e9e86b5efe285fede14537b212 (diff)
downloadmpv-28e76c9d1f76219a4b4aad5dc9573c16868d1b62.tar.bz2
mpv-28e76c9d1f76219a4b4aad5dc9573c16868d1b62.tar.xz
- add new entry's to hungarian skin howto (please Gabu translate)
- trivial changes in the code git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9041 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'Gui')
-rw-r--r--Gui/app.c3
-rw-r--r--Gui/mplayer/mw.c4
2 files changed, 3 insertions, 4 deletions
diff --git a/Gui/app.c b/Gui/app.c
index c0a3f6e5a9..616de1cd7b 100644
--- a/Gui/app.c
+++ b/Gui/app.c
@@ -62,8 +62,7 @@ evName evNames[] =
{ evSetURL, "evSetURL" },
{ evLoadAudioFile, "evLoadAudioFile" },
{ evDropSubtitle, "evDropSubtitle" },
- { evSetAspect, "evSetAspect" },
- { evSetAudio, "evSetAudio" }
+ { evSetAspect, "evSetAspect" }
};
int evBoxs = sizeof( evNames ) / sizeof( evName );
diff --git a/Gui/mplayer/mw.c b/Gui/mplayer/mw.c
index 48a75648a5..108570507e 100644
--- a/Gui/mplayer/mw.c
+++ b/Gui/mplayer/mw.c
@@ -87,8 +87,8 @@ void mplEventHandling( int msg,float param )
break;
case evPlayNetwork:
- if ( guiIntfStruct.Subtitlename ) { free( guiIntfStruct.Subtitlename ); guiIntfStruct.Subtitlename=NULL; }
- if ( guiIntfStruct.AudioFile ) { free( guiIntfStruct.AudioFile ); guiIntfStruct.AudioFile=NULL; }
+ gfree( (void **)&guiIntfStruct.Subtitlename );
+ gfree( (void **)&guiIntfStruct.AudioFile );
guiIntfStruct.StreamType=STREAMTYPE_STREAM;
goto play;
case evSetURL: