Add .c_str() to line 300 (filename).

Originally committed to SVN as r1976.
This commit is contained in:
Amar Takhar 2008-03-08 20:38:03 +00:00
parent ad1d357c61
commit 0e00389079

View file

@ -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