Fix multiple mistakes and warnings

This commit is contained in:
Bond_009 committed 2019-09-23 20:32:44 +02:00
1 parent b8fd6a7ec3
commit c9820d30ed
21 files changed
+94 -104

No files matched your search

@@ -1252,9 +1252,6 @@ namespace MediaBrowser.Controller.MediaEncoding
{
if (request.AudioBitRate.HasValue)
{
// Make sure we don't request a bitrate higher than the source
var currentBitrate = audioStream == null ? request.AudioBitRate.Value : audioStream.BitRate ?? request.AudioBitRate.Value;
// Don't encode any higher than this
return Math.Min(384000, request.AudioBitRate.Value);
}