NdkMediaCodec: fix AMediaCodec_configure to keep input format constant.

Test: Print format before and after configure when running video encoder
Bug: b/194535040

Change-Id: I42fd0f09ead4959e78dd69c18f6df2ab2ffd94f9
1 file changed