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
1 file changed