[MPlayer-dev-eng] [Suggested PATCH] Increase maximum ftp file path length
Sergey
sergemp at mail.ru
Mon Nov 5 03:28:56 CET 2012
Hello, mplayer-dev-eng.
I often use mplayer to watch video recordings from our local ftp
server. And I noticed that mplayer is unable to show long ftp urls.
I had to wget them and watch locally.
Steps to reproduce:
mplayer -v 'ftp://62.76.7.10/pub/Big Buck
Bunny////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////big_buck_bunny_480p_stereo.avi'
It appeared that mplayer limits length of the ftp path to 256
characters (actually it's about 200 chars), but for UTF file names
it's almost 100 characters. That was not good.
Attached patch fixed the issue for me.
--
"64K ought to be enough for anybody"
Sergey
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ftpbug.patch
Type: text/x-patch
Size: 2792 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/mplayer-dev-eng/attachments/20121105/c3e139c0/attachment.bin>
More information about the MPlayer-dev-eng
mailing list