Changeset 10422

Show
Ignore:
Timestamp:
06/26/09 10:16:03 (5 years ago)
Author:
robert
Message:

Fixed warning

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • OpenSceneGraph/trunk/src/osgPlugins/ffmpeg/FFmpegDecoder.cpp

    r10030 r10422  
    338338    const AVRational AvTimeBaseQ = { 1, AV_TIME_BASE }; // = AV_TIME_BASE_Q 
    339339 
    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)); 
    341341    const int64_t seek_target = av_rescale_q(pos, AvTimeBaseQ, m_video_stream->time_base); 
    342342