[MPlayer-users] bug & fix: GUI, bad filename

Diego Biurrun diego at biurrun.de
Sun May 19 16:49:02 CEST 2002


Hi!

Is this the same problem described in these posts?

http://mplayerhq.hu/pipermail/mplayer-dev-eng/2002-May/008022.html
http://mplayerhq.hu/pipermail/mplayer-dev-eng/2002-May/007958.html
http://mplayerhq.hu/pipermail/mplayer-users/2002-May/015353.html

Please read DOCS/tech/patches.txt.  There it is described how you can
contribute to mplayer.  Help is always welcome.

The "patch" you sent is not very useful in its current state.  You
need to send a unified diff.  Do a cvs diff -u <restOfCommand> or diff
-u <restOfCommand>.  The details are described in patches.txt.
Regards

Diego


fangkun writes:
 > Bug: when open a file using GUI file select dialog, it sometimes returns
 > illegal filename.
 > 
 > Status: not fixed yet in CVS 20020519
 > 
 > Reason: in function fs_fsFNameList_select_row, varable fsSelectedFile is set
 > to point a temporary GTK string which might change.
 > 
 > Fix: modify Gui/mplayer/gtk/fs.c as follows:
 > 
 > 31a32
 > > gchar           fsTempFile[1024];
 > 393a395,396
 > >  strcpy(fsTempFile, fsSelectedFile);
 > >  fsSelectedFile = fsTempFile;
 > 
 > Wish to help!




More information about the MPlayer-users mailing list