From b93f9633280a25482e0f3c105bae7f3e97e40e01 Mon Sep 17 00:00:00 2001 From: Chris Tallon Date: Sat, 15 May 2010 15:48:25 +0000 Subject: [PATCH] *** empty log message *** --- demuxerts.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/demuxerts.cc b/demuxerts.cc index 653308e..9d0cf32 100644 --- a/demuxerts.cc +++ b/demuxerts.cc @@ -709,8 +709,8 @@ void DemuxerTS::parseTSPacketDetails(PESPacket &packet) // Only important stuff while (pts_expected > (1LL<<33)) pts_expected -= (1LL<<33); if (!doubledframerate - &&(abs(PTSDistance(pts_expected, packet.getPTS())-1800) <= 1 - || abs(PTSDistance(pts_expected, packet.getPTS())-1501) <= 1)) { + &&(abs((long long)PTSDistance(pts_expected, packet.getPTS())-1800) <= 1 + || abs((long long)PTSDistance(pts_expected, packet.getPTS())-1501) <= 1)) { doubledframerate=true; //Detected p50 or p60 } -- 2.39.5