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

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