- more work on EVS decoder

This commit is contained in:
2020-06-16 09:09:15 +03:00
parent 0072713705
commit 3f797bd09c
7 changed files with 47 additions and 55 deletions

View File

@@ -53,7 +53,7 @@ bool RtpHelper::isRtp(const void* buffer, size_t length)
return false;
unsigned char _type = reinterpret_cast<const RtpHeader*>(buffer)->pt;
bool rtp = ( (_type & 0x7F) >= 96 && (_type & 0x7F) < 127) || ((_type & 0x7F) < 35);
bool rtp = ( (_type & 0x7F) >= 96 && (_type & 0x7F) <= 127) || ((_type & 0x7F) < 35);
return rtp;
}