From 0e003890796c47bea0fcc0f44b2d6f34407a6dc4 Mon Sep 17 00:00:00 2001 From: Amar Takhar <verm@aegisub.org> Date: Sat, 8 Mar 2008 20:38:03 +0000 Subject: [PATCH] Add .c_str() to line 300 (filename). Originally committed to SVN as r1976. --- aegisub/video_context.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/aegisub/video_context.cpp b/aegisub/video_context.cpp index 07b711d24..41462436a 100644 --- a/aegisub/video_context.cpp +++ b/aegisub/video_context.cpp @@ -297,7 +297,7 @@ void VideoContext::SetVideo(const wxString &filename) { keyFramesLoaded = true; #else #ifdef WITH_FFMPEG - LAVCKeyFrames k(filename); + LAVCKeyFrames k(filename.c_str()); KeyFrames = k.GetKeyFrames(); keyFramesLoaded = true; #endif -- GitLab