diff --git a/aegisub/video_provider_avs.cpp b/aegisub/video_provider_avs.cpp index dc366cc4e..3fe70d3c3 100644 --- a/aegisub/video_provider_avs.cpp +++ b/aegisub/video_provider_avs.cpp @@ -242,6 +242,7 @@ PClip AvisynthVideoProvider::OpenVideo(wxString _filename, bool mpeg2dec3_priori // Some other format, such as mkv, mp4, ogm... try FFMpegSource and DirectShowSource else { // Try loading FFMpegSource + directshowOpen: bool ffsource = false; if (env->FunctionExists("ffmpegsource")) ffsource = true; if (!ffsource) { @@ -263,7 +264,6 @@ PClip AvisynthVideoProvider::OpenVideo(wxString _filename, bool mpeg2dec3_priori ffsource = true; decoderName = _T("FFmpegSource"); } - directshowOpen: // DirectShowSource if (!ffsource) { diff --git a/aegisub/video_provider_lavc.cpp b/aegisub/video_provider_lavc.cpp index 2e7cfb55c..8c0bda704 100644 --- a/aegisub/video_provider_lavc.cpp +++ b/aegisub/video_provider_lavc.cpp @@ -112,7 +112,7 @@ public: int GetWidth(); int GetHeight(); double GetFPS(); - wxString GetDecoderName() { return _T("FFMpeg/libavcodec")); } + wxString GetDecoderName() { return _T("FFMpeg/libavcodec"); } bool IsNativelyByFrames() { return true; } };