mirror of
https://github.com/ZLMediaKit/ZLMediaKit.git
synced 2026-06-16 21:15:57 +08:00
优化代码
除1024改成右移10位
This commit is contained in:
@@ -47,7 +47,7 @@ private:
|
||||
};
|
||||
|
||||
Sdp::Ptr JPEGTrack::getSdp(uint8_t) const {
|
||||
return std::make_shared<JPEGSdp>(getBitRate() / 1024);
|
||||
return std::make_shared<JPEGSdp>(getBitRate() >> 10);
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user