remove some useless casts

Originally committed to SVN as r2323.
This commit is contained in:
Karl Blomster 2008-09-06 02:50:20 +00:00
parent 728b0d0a93
commit 0add56bfa0

View file

@ -207,7 +207,7 @@ void FFmpegSourceVideoProvider::Close() {
// Update indexing progress // Update indexing progress
int __stdcall FFmpegSourceVideoProvider::UpdateIndexingProgress(int State, int64_t Current, int64_t Total, void *Private) { int __stdcall FFmpegSourceVideoProvider::UpdateIndexingProgress(int State, int64_t Current, int64_t Total, void *Private) {
IndexingProgressDialog *Progress = (IndexingProgressDialog *)Private; IndexingProgressDialog *Progress = (IndexingProgressDialog *)Private;
Progress->ProgressDialog->SetProgress(int(Current), int(Total)); Progress->ProgressDialog->SetProgress(Current, Total);
if (Progress->IndexingCanceled) { if (Progress->IndexingCanceled) {
// Close(); // Close();
@ -312,6 +312,4 @@ double FFmpegSourceVideoProvider::GetFPS() {
} }
#endif /* WITH_FFMPEGSOURCE */ #endif /* WITH_FFMPEGSOURCE */