FIX: [mediacodec] reset if we are out of input buffers
Merge pull request #4524 from koying/fixamcinbuffer

FIX: [mediacodec] reset if we are out of input buffers