From e7fd733dc55a29140ac3898eff0386de05d765f1 Mon Sep 17 00:00:00 2001 From: winlin Date: Wed, 4 Mar 2015 09:59:40 +0800 Subject: [PATCH] fix the long long warning. --- trunk/src/kernel/srs_kernel_ts.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/trunk/src/kernel/srs_kernel_ts.cpp b/trunk/src/kernel/srs_kernel_ts.cpp index e5449df4b..76dc0b2fd 100644 --- a/trunk/src/kernel/srs_kernel_ts.cpp +++ b/trunk/src/kernel/srs_kernel_ts.cpp @@ -1130,7 +1130,7 @@ int SrsTsAdaptationField::encode(SrsStream* stream) // @see https://github.com/winlinvip/simple-rtmp-server/issues/250#issuecomment-71349370 int64_t pcrv = program_clock_reference_extension & 0x1ff; pcrv |= (const1_value0 << 9) & 0x7E00; - pcrv |= (program_clock_reference_base << 15) & 0x1FFFFFFFF000000; + pcrv |= (program_clock_reference_base << 15) & 0x1FFFFFFFF000000LL; pp = (char*)&pcrv; *p++ = pp[5];