OSDN Git Service

stagefright-plugins: workaround negative timestamp
authorKeith Mok <kmok@cyngn.com>
Fri, 29 Jan 2016 19:14:11 +0000 (11:14 -0800)
committerKeith Mok <kmok@cyngn.com>
Wed, 10 Feb 2016 17:36:09 +0000 (09:36 -0800)
commitd306446807950c1cfef039e9990f529015da01a6
tree7246aa11d473bd47594982fcc9e4ee9f16483a78
parent6c076410fd512e6399ffe29d57d926d79222b785
stagefright-plugins: workaround negative timestamp

libstagefright does not like negative timestamp,
and is causing crash if extractor reports that.
Add a checking for that, and return media malformed
if negative timestamp is encountered.

Change-Id: I8478b49d280735600b0f6290deb3dee7ed6521f5
extractor/FFmpegExtractor.cpp