DO NOT MERGE - libstagefright: check requested memory size before allocation for SoftMPEG4Encoder and SoftVPXEncoder. am: 0462975291 am: 3e8e134597  -s ours am: e4223a8d32 am: bed81d6594 am: dd4576b017  -s ours
am: e3bbe235f6

* commit 'e3bbe235f618af53774758727c2c22d02aead97b':
  DO NOT MERGE - libstagefright: check requested memory size before allocation for SoftMPEG4Encoder and SoftVPXEncoder.