[FFmpeg-cvslog] fftools/fopen_utf8: support long paths on Windows for fftools

softworkz git at videolan.org
Sun Jun 19 01:38:33 EEST 2022


ffmpeg | branch: master | softworkz <softworkz at hotmail.com> | Mon Jun 13 23:42:53 2022 +0000| [fee765c2078ba03e346e311c86a447a116fe8c5f] | committer: Martin Storsjö

fftools/fopen_utf8: support long paths on Windows for fftools

Signed-off-by: softworkz <softworkz at hotmail.com>
Signed-off-by: Martin Storsjö <martin at martin.st>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=fee765c2078ba03e346e311c86a447a116fe8c5f
---

 fftools/fopen_utf8.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/fftools/fopen_utf8.h b/fftools/fopen_utf8.h
index cd18fe8ce1..e5be84179a 100644
--- a/fftools/fopen_utf8.h
+++ b/fftools/fopen_utf8.h
@@ -35,7 +35,7 @@ static inline FILE *fopen_utf8(const char *path_utf8, const char *mode)
     FILE *f;
 
     /* 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;
     if (!path_w)
         goto fallback;



More information about the ffmpeg-cvslog mailing list