1
0
mirror of https://github.com/mpv-player/mpv synced 2024-12-17 12:25:03 +00:00
mpv/gui
iive 78dbd8ba26 remove gconvert_uri_to_filename() and use url_unescape_string() instead.
reasons:
* gconvert strdup()s the original string, but it may exit without returning or freeing it.
* gconvert returns the original pointer when no % escaping is done. It is then free()ed and used in that state.
* gconvert doesn't consider that % may be at the end of the string and could continue parsing past the end.
* gconvert would try to free() pointer that iconv() have modified.
* gconvert would try to convert filenames from utf-8 to iso8859-1. 
  Seems like no other DnD programs convert to utf-8 and/or honors CHARSET.
  Not converting seems to work best. Fix it if problem arises.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24106 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-08-20 14:17:43 +00:00
..
mplayer remove gconvert_uri_to_filename() and use url_unescape_string() instead. 2007-08-20 14:17:43 +00:00
skin Avoid code duplication and ugly config.h hack by using av_strlcat/av_strlcpy 2007-07-05 22:01:07 +00:00
win32 fopen is in stdio.h, so add this include. 2007-07-18 12:15:10 +00:00
wm Fix a bunch of redundant redeclaration warnings. 2007-07-18 10:09:42 +00:00
app.c get_path prototype is already in interface.h and probably many more places. 2007-06-24 11:09:32 +00:00
app.h Do not use leading underscores in multiple inclusion guards, they are reserved. 2007-07-02 22:34:45 +00:00
bitmap.c Fix compilation after FFmpeg r9283. 2007-06-12 08:38:42 +00:00
bitmap.h Do not use leading underscores in multiple inclusion guards, they are reserved. 2007-07-02 22:34:45 +00:00
cfg.c Fix a bunch of redundant redeclaration warnings. 2007-07-18 10:09:42 +00:00
cfg.h Do not use leading underscores in multiple inclusion guards, they are reserved. 2007-07-02 22:34:45 +00:00
interface.c remove gconvert_uri_to_filename() and use url_unescape_string() instead. 2007-08-20 14:17:43 +00:00
interface.h remove gconvert_uri_to_filename() and use url_unescape_string() instead. 2007-08-20 14:17:43 +00:00
Makefile Reuse linux code for reading png images for windows Gui, 2007-05-10 09:11:54 +00:00