- Timestamp:
- 06/25/09 18:02:23 (4 years ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
OpenSceneGraph/trunk/src/osgPlugins/ffmpeg/FFmpegDecoderVideo.cpp
r10161 r10414 168 168 // Find out the frame pts 169 169 170 if (packet.packet.dts == AV_NOPTS_VALUE&&170 if (packet.packet.dts == int64_t(AV_NOPTS_VALUE) && 171 171 m_frame->opaque != 0 && 172 *reinterpret_cast<const int64_t*>(m_frame->opaque) != AV_NOPTS_VALUE)172 *reinterpret_cast<const int64_t*>(m_frame->opaque) != int64_t(AV_NOPTS_VALUE)) 173 173 { 174 174 pts = *reinterpret_cast<const int64_t*>(m_frame->opaque); 175 175 } 176 else if (packet.packet.dts != AV_NOPTS_VALUE)176 else if (packet.packet.dts != int64_t(AV_NOPTS_VALUE)) 177 177 { 178 178 pts = packet.packet.dts;
