[vlc-devel] [Patch] Don't compute a psz_file when something is not a file.

Hugo Beauzée-Luyssen beauze.h at gmail.com
Sun Feb 26 23:29:54 CET 2012


Hello,

While trying to fix HLS for Win32, I came across what I think to be a problem :
When a demux is created, a psz_file member is computed, based on the
mrl : "file://<location>", no matter what <location> is.
This seems wrong when using, for instance, a HTTP based file.
However, this only changes something on WIN32 (and probably on OS2),
as everything that doesn't start with a '\' or doesn't contain
localhost will be prepended with a double backslash.

Awaiting for your comments! :)

Regards,

-- 
Hugo Beauzée-Luyssen
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-demux.c-Do-not-compute-psz_file-for-something-that-i.patch
Type: text/x-patch
Size: 1066 bytes
Desc: not available
URL: <http://mailman.videolan.org/pipermail/vlc-devel/attachments/20120226/ee9efda6/attachment.bin>


More information about the vlc-devel mailing list