Dash-Industry-Forum/dash.js — pull request #268 by AkamaiDASH (2014-10-27 21:54:12+00:00)
Title: ABR DownloadRatioRule bug prevents stream from switching to highest index. 

max was converted to zero based twice. Removed -1 in the switch up call that prevented the stream from switching to the highest index.