mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-04-30 05:46:30 +01:00
Multiplication is faster than bit shifting
This commit is contained in:
@@ -81,7 +81,7 @@ namespace MediaBrowser.Common
|
||||
break; // Unreachable
|
||||
}
|
||||
|
||||
bytes[j] = (byte)((a << 4) | b);
|
||||
bytes[j] = (byte)((a * 16) | b);
|
||||
}
|
||||
|
||||
return bytes;
|
||||
|
||||
Reference in New Issue
Block a user