Fix handling of LAVCKeyFrames to be when building WITH_FFMPEG rather than some guesses based on platform.

Originally committed to SVN as r1808.
This commit is contained in:
Niels Martin Hansen 2008-01-21 21:01:00 +00:00
parent 46ccee56b5
commit 0e60c4b9cb
1 changed files with 0 additions and 2 deletions

View File

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