This repository was archived by the owner on Aug 31, 2021. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +6
-6
lines changed
Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -214,7 +214,7 @@ MCPlayer::MCPlayer()
214214 loudness = 100 ;
215215
216216#ifdef FEATURE_MPLAYER
217- command = MCValueRetain ( kMCEmptyString ) ;
217+ command = NULL ;
218218 m_player = NULL ;
219219#endif
220220
@@ -254,7 +254,7 @@ MCPlayer::MCPlayer(const MCPlayer &sref) : MCControl(sref)
254254 loudness = sref.loudness ;
255255
256256#ifdef FEATURE_MPLAYER
257- command = MCValueRetain ( kMCEmptyString ) ;
257+ command = NULL ;
258258 m_player = NULL ;
259259#endif
260260
@@ -4511,7 +4511,7 @@ void MCPlayer::stoprecording()
45114511 }
45124512#ifdef _WINDOWS
45134513 if (MCrecordformat == EX_MOVIE)
4514- CopyFileW (MCStringGetCString (recordtempfile), MCStringGetCString (recordexportfile),False);
4514+ CopyFileA (MCStringGetCString (recordtempfile), MCStringGetCString (recordexportfile),False);
45154515 else
45164516#endif
45174517 {
Original file line number Diff line number Diff line change @@ -96,7 +96,7 @@ class MCPlayer : public MCControl
9696 int4 lasttime;
9797
9898#ifdef FEATURE_MPLAYER
99- MCStringRef command;
99+ char * command;
100100 Atom atom;
101101 MPlayer *m_player ;
102102#endif
@@ -258,9 +258,9 @@ class MCPlayer : public MCControl
258258 bool stdeffectdlg (MCStringRef &r_value, MCStringRef &r_result);
259259
260260#ifdef _LINUX_DESKTOP
261- void getcommand (MCStringRef& r_command )
261+ const char * getcommand ()
262262 {
263- r_command = MCValueRetain ( command) ;
263+ return command;
264264 }
265265 Boolean syncxanim ();
266266#endif
You can’t perform that action at this time.
0 commit comments