main/format: skip format conversion if src and dst format are equal