add maxbitrate verification
Merge pull request #1553 from ruil2/max2

    add maxbitrate verification