]>
Commit | Line | Data |
---|---|---|
4164aee2 AM |
1 | diff -urN avifile-0.6.org/lib/aviplay/aviplay_impl.h avifile-0.6/lib/aviplay/aviplay_impl.h |
2 | --- avifile-0.6.org/lib/aviplay/aviplay_impl.h Mon Apr 2 15:53:38 2001 | |
3 | +++ avifile-0.6/lib/aviplay/aviplay_impl.h Mon Apr 2 15:54:03 2001 | |
4 | @@ -231,7 +231,7 @@ | |
5 | } | |
6 | int Fps() const | |
7 | { | |
8 | - return (m_pVideostream) ? (int)(1./m_pVideostream->GetFrameTime()) : 0; | |
9 | + return (m_pVideostream) ? (int)((1.0/m_pVideostream->GetFrameTime())+0.5) : 0; | |
10 | } | |
11 | virtual const char* FileName() | |
12 | { |