Skip to content

The Free Software Media System - Server Backend & API

Update BifService.cs

Bluebull32af9bd11568e6
diff --git a/MediaBrowser.Api/Playback/BifService.cs b/MediaBrowser.Api/Playback/BifService.cs
index 057d814417..181cdfe896 100644
--- a/MediaBrowser.Api/Playback/BifService.cs
+++ b/MediaBrowser.Api/Playback/BifService.cs
@@ -155,7 +155,7 @@ namespace MediaBrowser.Api.Playback
private byte[] GetBytes(int value)
{
byte[] bytes = BitConverter.GetBytes(value);
- if (BitConverter.IsLittleEndian)
+ if (!BitConverter.IsLittleEndian)
Array.Reverse(bytes);
return bytes;
}