From 5cb4d1cae3415ccfc1e3327f1eecf500f52f80b4 Mon Sep 17 00:00:00 2001 From: Karl Blomster Date: Wed, 15 Jul 2009 04:02:15 +0000 Subject: [PATCH] Revert r3137 for video_provider_ffmpegsource.cpp; the patch fixed an issue that had already been fixed (by using UTF8 instead of the local codepage). Originally committed to SVN as r3144. --- aegisub/src/video_provider_ffmpegsource.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/aegisub/src/video_provider_ffmpegsource.cpp b/aegisub/src/video_provider_ffmpegsource.cpp index f0da5605a..247eb4681 100644 --- a/aegisub/src/video_provider_ffmpegsource.cpp +++ b/aegisub/src/video_provider_ffmpegsource.cpp @@ -45,7 +45,6 @@ #include "video_context.h" #include "options.h" #include "aegisub_endian.h" -#include "charset_conv.h" #ifdef WIN32 #include #endif @@ -168,7 +167,7 @@ void FFmpegSourceVideoProvider::LoadVideo(Aegisub::String filename, double fps) throw ErrorMsg; } - VideoSource = FFMS_CreateVideoSource(FileNameWX.mb_str(csConvLocal), TrackNumber, Index, "", Threads, SeekMode, FFMSErrorMessage, MessageSize); + VideoSource = FFMS_CreateVideoSource(FileNameWX.mb_str(wxConvUTF8), TrackNumber, Index, "", Threads, SeekMode, FFMSErrorMessage, MessageSize); FFMS_DestroyIndex(Index); Index = NULL; if (VideoSource == NULL) {