fix warning

This commit is contained in:
Steve Checkoway
2004-03-06 18:41:44 +00:00
parent 8887353517
commit b94ad4b8d8
@@ -314,7 +314,7 @@ int FFMpeg_Helper::DecodePacket()
{ {
if ( GetNextTimestamp ) if ( GetNextTimestamp )
{ {
if (pkt.pts != AV_NOPTS_VALUE) if (pkt.pts != int64_t(AV_NOPTS_VALUE))
pts = (float)pkt.pts * m_fctx->pts_num / m_fctx->pts_den; pts = (float)pkt.pts * m_fctx->pts_num / m_fctx->pts_den;
else else
pts = -1; pts = -1;