Changeset 10422
- Timestamp:
- 06/26/09 10:16:03 (4 years ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
OpenSceneGraph/trunk/src/osgPlugins/ffmpeg/FFmpegDecoder.cpp
r10030 r10422 338 338 const AVRational AvTimeBaseQ = { 1, AV_TIME_BASE }; // = AV_TIME_BASE_Q 339 339 340 const int64_t pos = m_clocks.getStartTime() * AV_TIME_BASE;340 const int64_t pos = int64_t(m_clocks.getStartTime() * double(AV_TIME_BASE)); 341 341 const int64_t seek_target = av_rescale_q(pos, AvTimeBaseQ, m_video_stream->time_base); 342 342
