DO NOT MERGE - libstagefright: check requested memory size before allocation for SoftMPEG4Encoder and SoftVPXEncoder. am: 6afc659b00 am: 9e1d7751b1  -s ours am: 4c0d243626 am: 862b693ba3  -s ours am: db76a879ea am: e0c9d8afd0 am: 2048dd5483  -s ours am: 7a2dbcd38b am: f766fdb625 am: 29ff7f2ac7
am: 946388cc94

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