diff --git a/aegisub/audio_provider_lavc.cpp b/aegisub/audio_provider_lavc.cpp index fae96febf..2b0745063 100644 --- a/aegisub/audio_provider_lavc.cpp +++ b/aegisub/audio_provider_lavc.cpp @@ -80,7 +80,7 @@ LAVCAudioProvider::LAVCAudioProvider(Aegisub::String _filename) } else { #endif lavcfile = LAVCFile::Create(_filename); - filename = _filename; + filename = _filename.c_str(); #if 0 } #endif