diff options
author | Martin Storsjö <martin@martin.st> | 2013-08-08 11:29:57 +0300 |
---|---|---|
committer | Martin Storsjö <martin@martin.st> | 2013-08-08 16:41:33 +0300 |
commit | dfc6b5c81491abf7effb97b23af17ccf7adcd132 (patch) | |
tree | 59c15f6c909f3421e55859ed2c06ec4fe0238fcc /cmdutils.c | |
parent | 45e10e5c8d3df09c80a4d80483bff2712367f3fa (diff) | |
download | ffmpeg-dfc6b5c81491abf7effb97b23af17ccf7adcd132.tar.gz |
file: Move win32 utf8->wchar open wrapper to libavutil
When libavformat was changed to use the new avpriv_open function
in 51eb213d001, 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>
Diffstat (limited to 'cmdutils.c')
0 files changed, 0 insertions, 0 deletions