commit | fd8b75afddb189d6fb14d3f3e17062c95229b15a | [log] [tgz] |
---|---|---|
author | Jamie Gennis <jgennis@google.com> | Fri Dec 17 15:07:02 2010 -0800 |
committer | Jamie Gennis <jgennis@google.com> | Fri Dec 17 18:26:28 2010 -0800 |
tree | ec177318d72cea04bb641deaf708e4b9da0ef6f1 | |
parent | a69293a00d8a3320fc5750eb439bd3e809d0a821 [diff] |
Change a Stagefright assert to an error check. During OMX codec initialization it is possible that buffer allocation fails. This changes Stagefright to set an error state and abort initialization rather than crashing with an assert failure when that happens. Change-Id: I2fc2fadfe75657cdbf649cc8cafd2e4c251a5f8b Bug: 3282700