OSDN Git Service

Handle bad bitrate index in mp3dec.
authorDongwon Kang <dwkang@google.com>
Fri, 23 Feb 2018 16:59:27 +0000 (08:59 -0800)
committerJP Sugarbroad <jpsugar@google.com>
Thu, 15 Mar 2018 20:02:47 +0000 (13:02 -0700)
commit57434d3e0b742dca0c98ba317c05cc086c985e20
tree4a76d5003ea78e8a745a97395186b19f3a88c74d
parent418ee67771a26de21895a75eb67f2cc9c9c6583d
Handle bad bitrate index in mp3dec.

Reference:
  https://www.mp3-tech.org/programmer/frame_header.html

Test: run poc with and without this patch.
Bug: 71868329
Change-Id: Ibf6196eba0b99459e84989ac8c13db57c816c572
(cherry picked from commit 8b638123760bd93958f6cc2f5c7c4f5dbd0a754a)
media/libstagefright/codecs/mp3dec/src/pvmp3_decode_header.cpp