Fixed out of bound read in flush_bits am: 763ffef681 am: 16620937c2 am: cb0ef8df6e am: 8a34f810ab am: 18c905dd01
am: e4393f2400

* commit 'e4393f240021d9c232875772e38a55aee3774242':
  Fixed out of bound read in flush_bits

Change-Id: Ibffaf311ebbabe89849a008e8e4480b2650d80b5