• Adrian Grange's avatar
    Clip buffer level to the maximum buffer size in CBR · eb15fe85
    Adrian Grange authored
    The buffer level was able to increase indefinitely rather than
    being clipped to the maximum buffer size specified by the user.
    This change checks the buffrer level and prevents it from
    going beyond the upper limit of the buffer.
    Change-Id: Ifff55f79d3c018e4d3d77e554b11ada543cc1654
ratectrl.c 57.8 KB