Update ffms2 to r234, part 2. Compilation fixed again.

Originally committed to SVN as r3815.
This commit is contained in:
Karl Blomster 2009-11-21 21:15:02 +00:00
parent 1f4fa82726
commit 653427fbad

View file

@ -260,7 +260,7 @@ void FFmpegSourceVideoProvider::LoadVideo(wxString filename) {
KeyFramesList.Add(CurFrameNum);
// calculate timestamp and add to timecodes vector
int Timestamp = (int)((CurFrameData->DTS * TimeBase->Num) / TimeBase->Den);
int Timestamp = (int)((CurFrameData->PTS * TimeBase->Num) / TimeBase->Den);
TimecodesVector.push_back(Timestamp);
}
KeyFramesLoaded = true;