Quite a lot of hardware devices have broken encoders. I noticed just how inconsistent it is if software will tolerate invalid files or work around it.
Seems these days a there’s more of a preference to outright refuse invalid files since they could be exploit attempts.