diff options
Diffstat (limited to 'Gui')
-rw-r--r-- | Gui/app.c | 3 | ||||
-rw-r--r-- | Gui/mplayer/mw.c | 4 |
2 files changed, 3 insertions, 4 deletions
@@ -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: |