mirror of
https://github.com/ZLMediaKit/ZLMediaKit.git
synced 2026-06-19 14:52:20 +08:00
优化代码
除1024改成右移10位
This commit is contained in:
@@ -85,7 +85,7 @@ static bool loadFile(const char *path, const EventPoller::Ptr &poller) {
|
||||
if (ps_decoder) {
|
||||
ps_decoder->input(text, lSize);
|
||||
}
|
||||
WarnL << lSize / 1024 << "KB";
|
||||
WarnL << (lSize >> 10) << "KB";
|
||||
fclose(fp);
|
||||
return true;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user