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 am: b7e63bfadb am: 2c7411483b
am: 062ea7264f

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