kill another useless cast

Originally committed to SVN as r2324.
This commit is contained in:
Karl Blomster 2008-09-06 02:54:22 +00:00
parent 0add56bfa0
commit c72cb5f505
1 changed files with 1 additions and 2 deletions

View File

@ -157,8 +157,7 @@ void FFmpegSourceVideoProvider::LoadVideo(Aegisub::String filename, double fps)
// calculate timestamp and add to timecodes vector
int64_t Timestamp = (int64_t)((CurFrameData->DTS * TimeBase->Num) / (double)TimeBase->Den);
// dumb to cast this to an int but the vfr functions all want it as that
TimecodesVector.push_back(int(Timestamp));
TimecodesVector.push_back(Timestamp);
}
KeyFramesLoaded = true;