Add sanity checks to fix crash

Copy Huffman tree sanity check from libvorbis to avoid out of bounds memory
access later on.

Bug: 21048776
Change-Id: I3c508572501af188af4224e2a295e9f2554ec9c0
(cherry picked from commit 52193fa3472b79873e73044ce02e1c0a67c85043)
1 file changed
tree: fc3e77adfd9bf4fd4525e80236a6dadd56540cac
  1. Android.mk
  2. CleanSpec.mk
  3. MODULE_LICENSE_BSD_LIKE
  4. NOTICE
  5. README
  6. Tremolo/