From 0e60c4b9cbc285d890ef0397007e27092cf50879 Mon Sep 17 00:00:00 2001 From: Niels Martin Hansen <nielsm@aegisub.org> Date: Mon, 21 Jan 2008 21:01:00 +0000 Subject: [PATCH] Fix handling of LAVCKeyFrames to be when building WITH_FFMPEG rather than some guesses based on platform. Originally committed to SVN as r1808. --- aegisub/video_context.cpp | 2 -- 1 file changed, 2 deletions(-) diff --git a/aegisub/video_context.cpp b/aegisub/video_context.cpp index cd4d3d884..a76d3600e 100644 --- a/aegisub/video_context.cpp +++ b/aegisub/video_context.cpp @@ -296,13 +296,11 @@ void VideoContext::SetVideo(const wxString &filename) { KeyFrames = VFWWrapper::GetKeyFrames(filename); keyFramesLoaded = true; #else -#ifndef __APPLE__ #ifdef WITH_FFMPEG LAVCKeyFrames k(filename); KeyFrames = k.GetKeyFrames(); keyFramesLoaded = true; #endif -#endif #endif } -- GitLab