stagefright: Fix the MPEG4 editlist explosion on Widevine

 * Crash results during XTS due to buggy editlist handler.

 * This version was done by Qualcomm, and has been superseded by
   Google's implementation in Kitkat, so let's go with that.

Revert "libstagefright: Fix AV sync issues"

This reverts commit ca2273a47ffe88c62a64d7cffdd8651a7511ee53.

Add support for MPEG editlist gapless info

Change-Id: I862d89c805d738db9bdf81a8f1c5b317ff968dff

Don't crash if no timescale was given

b/9175577

Change-Id: Ie159a9c9b42e6c8d9366d0ef6a607234af569e36

Edit list uses timescale from movie header

not from track media header

Change-Id: I24063183f44027b999782cc9006e9a1b56e87355

Fail more gracefully on version mismatch

b/9900647

Change-Id: I9ea508a2685ff8adc780edd5ecec30dd1a9b0997

stagefright: limit default max-input-size for AVC

AVC has a compression ratio of at least 2.  Account for this, as
some codecs refuse exorbitant max-input-size requests.

Change-Id: Ib68b485879ba33a12a486f2ce18fe100be977699
Signed-off-by: Lajos Molnar <lajos@google.com>
Bug: 11599364