The lavf-ffm test results change because ffmenc writes AVCodecContext.flags/flags2 and the defaults for those change.