mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2025-10-19 18:03:17 +00:00
fftools/fopen_utf8: support long paths on Windows for fftools
Signed-off-by: softworkz <softworkz@hotmail.com> Signed-off-by: Martin Storsjö <martin@martin.st>
This commit is contained in:
parent
6d3f771588
commit
fee765c207
1 changed files with 1 additions and 1 deletions
|
@ -35,7 +35,7 @@ static inline FILE *fopen_utf8(const char *path_utf8, const char *mode)
|
||||||
FILE *f;
|
FILE *f;
|
||||||
|
|
||||||
/* convert UTF-8 to wide chars */
|
/* convert UTF-8 to wide chars */
|
||||||
if (utf8towchar(path_utf8, &path_w)) /* This sets errno on error. */
|
if (get_extended_win32_path(path_utf8, &path_w)) /* This sets errno on error. */
|
||||||
return NULL;
|
return NULL;
|
||||||
if (!path_w)
|
if (!path_w)
|
||||||
goto fallback;
|
goto fallback;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue