avutil/intfloat_readwrite: include common.h for isinf()