OSDN Git Service

To make SniffMP3() more concrete so that we can remove false-positve responses from...
authorDongwon Kang <dwkang@google.com>
Thu, 18 Aug 2011 06:24:27 +0000 (15:24 +0900)
committerDongwon Kang <dwkang@google.com>
Thu, 18 Aug 2011 06:24:27 +0000 (15:24 +0900)
commit97f2fb5bc753f021bfa51f58129bc1a36c047c47
tree217c71649c578f0cf3fb37585a902a8be9ccd212
parentee0846f97cf07f5f18d19161526743330aabb44e
To make SniffMP3() more concrete so that we can remove false-positve responses from MPEG-PS streams.

Note: current resync logic keeps searching mp3 frames until it meets a
valid one. This resync logic works well with seek() operation, but in
SniffMP3(), this may cause false-positive classification for the
following MPEG-PS file format.
  A possible MPEG-PS video file:
      [PS header]...[mp3 frame][mp3 frame] ...
  MP3 files:
      [ID3 tag][mp3 frame][mp3 frame] ...

BUG: 5104562
Change-Id: Idd5020723f7bdb2fefc2a63fc8651580fd644399
media/libstagefright/MP3Extractor.cpp