mirror of
https://github.com/mpv-player/mpv
synced 2025-01-20 21:07:29 +01:00
mem corruption bug fix.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@4853 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
367e5bd0b8
commit
54ae2281a6
@ -95,6 +95,7 @@ extern guiInterface_t guiIntfStruct;
|
||||
|
||||
#define guiXEvent 0
|
||||
#define guiCEvent 1
|
||||
#define guiIEvent 2
|
||||
|
||||
extern void guiInit( int argc,char* argv[], char *envp[] );
|
||||
extern void guiGetEvent( int type,char * arg );
|
||||
@ -102,7 +103,7 @@ extern void guiEventHandling( void );
|
||||
|
||||
#define gstrdup( s,ss ) { s=malloc( strlen( ss ) + 3 ); strcpy( s,ss ); }
|
||||
|
||||
#define guiSetFilename( s,n ) { s=strdup( n ); }
|
||||
#define guiSetFilename( s,n ) { if ( s ) free( s ); s=strdup( n ); }
|
||||
|
||||
#define guiSetDF( s,d,n ) \
|
||||
{ \
|
||||
|
Loading…
Reference in New Issue
Block a user