Status: New
Owner: ----
Labels: Type-Defect Priority-Medium
New issue 151 by
honeycom...@gmail.com: Cannot use non-canonical full path
name on win32
http://code.google.com/p/mp4v2/issues/detail?id=151
Non-canonical paths such as C:\foo\\\bar\\\\\\\\\\\\\\bazz.mp4 are valid,
but mp4v2 fails to open them.
mp4v2 will insert prefix \\?\ when the path name looks like a full path
name (to get very long file name support). However, it doesn't normalize
the path.
Although win32 CreateFile() allows non-canonical path names, if seems to
require the path to be canonical when \\?\ prefix is used.
To fix the problem, GetFullPathName() should be used when inserting \\?\
prefix.