OSDN Git Service

Fail more gracefully on allocation failure
authorMarco Nelissen <marcone@google.com>
Fri, 13 Jun 2014 21:13:44 +0000 (14:13 -0700)
committerMarco Nelissen <marcone@google.com>
Tue, 17 Jun 2014 21:12:13 +0000 (14:12 -0700)
commit8da8b2e80ccdb10ff2445f503829f803d3a6ab9f
treeda2e06f47440600e6a22dd7a9422ce52eadbfd0e
parent7791cf11186a22b3f84d98cfde67393bee748cb0
Fail more gracefully on allocation failure

Check allocations when the size is read from a file and might therefore
be invalid.

b/14388161

Change-Id: Ia08cc0a6107f275a70e793ef3b50c0ce16ceeee0
media/libstagefright/MPEG4Extractor.cpp