Mercurial > mplayer.hg
diff Gui/mplayer/mw.c @ 9040:2a0619fd84f0
- add new entry's to hungarian skin howto (please Gabu translate)
- trivial changes in the code
author | pontscho |
---|---|
date | Sun, 19 Jan 2003 22:46:39 +0000 |
parents | e0a3139a4dea |
children | c2f31ca14a92 |
line wrap: on
line diff
--- a/Gui/mplayer/mw.c Sun Jan 19 21:50:50 2003 +0000 +++ b/Gui/mplayer/mw.c Sun Jan 19 22:46:39 2003 +0000 @@ -87,8 +87,8 @@ 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: