MediaCodecSource: Fix buffer allocation
am: 01d1e52558

Change-Id: I03f6976b6615672bfa52f0dc5c60abd7b3f2b3bc