mirror of https://github.com/FFmpeg/FFmpeg.git
When libavformat was changed to use the new avpriv_open function
in 51eb213d00
, this silently bypassed the existing wrapper for
win32. Move the win32 wrapper into libavutil/file.c to make sure
it gets called everywhere (not just in the libavformat case).
This makes sure that non-ascii file names gets opened properly
(where file names internally are stored as utf8, but they get
converted to wchar_t and opened with _wsopen).
Signed-off-by: Martin Storsjö <martin@martin.st>
pull/37/head
parent
45e10e5c8d
commit
dfc6b5c814
3 changed files with 39 additions and 45 deletions
Loading…
Reference in new issue