在mCodec.configure(mediaFormat, null, null, 0)中将Surface设置成null然后用mCodec.getOutputBuffers()就可以获得解码后的数据了