Merge "AMediaFormat_copy: check args"