From 4ab95b917cedf79375da2918b3553e97e0ff404b Mon Sep 17 00:00:00 2001 From: tobigun Date: Tue, 6 Apr 2010 19:11:40 +0000 Subject: - Revert quick-fix from revision 2000 - The problem has been fixed by the previous commit (overload Path()) git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@2220 b956fd51-792f-4845-bead-9b4dfca2ff2c --- src/media/UVideo.pas | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/media/UVideo.pas') diff --git a/src/media/UVideo.pas b/src/media/UVideo.pas index 6db9cd20..27f29f7e 100644 --- a/src/media/UVideo.pas +++ b/src/media/UVideo.pas @@ -263,7 +263,7 @@ begin Reset(); // use custom 'ufile' protocol for UTF-8 support - errnum := av_open_input_file(fFormatContext, PAnsiChar('ufile:'+FileName.ToNative), nil, 0, nil); + errnum := av_open_input_file(fFormatContext, PAnsiChar('ufile:'+FileName.ToUTF8), nil, 0, nil); if (errnum <> 0) then begin Log.LogError('Failed to open file "'+ FileName.ToNative +'" ('+FFmpegCore.GetErrorString(errnum)+')'); -- cgit v1.2.3