libstagefright: Fix for crash in sound recorder during device switch

 -Crash seen in sound recorder during frequent insertion and removal
  of wired headset

 -During device switch some time Codec's input buffers are too small to
  accomodate buffer read from source. Omx codec doesn't read the fix size
  buffer from source, during device switch scenario sometime buffer read
  from source exceeds input buffer size so it goes in error state which
  leads to crash.

Change-Id: Ica3e5b1c1833077df522bb8f78fb05dd43a45f36
 -Increasing the input buffer size fix this issue
CRs-Fixed: 488449
2 files changed