fix bug of video playback byte-range logic