Show
Ignore:
Timestamp:
04/23/09 15:42:24 (4 years ago)
Author:
robert
Message:

Warning fixes

Files:
1 modified

Legend:

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

    r9965 r10088  
    168168            // Find out the frame pts 
    169169 
    170             if (packet.packet.dts == AV_NOPTS_VALUE && m_frame->opaque != 0 && *reinterpret_cast<const int64_t*>(m_frame->opaque) != AV_NOPTS_VALUE) 
     170            if (packet.packet.dts == AV_NOPTS_VALUE && 
     171                m_frame->opaque != 0 && 
     172                *reinterpret_cast<const int64_t*>(m_frame->opaque) != AV_NOPTS_VALUE) 
    171173            { 
    172174                pts = *reinterpret_cast<const int64_t*>(m_frame->opaque);