SLK_FMT_INVAL
if (slk_fmt == SLK_FMT_INVAL)
slk_fmt = SLK_FMT_INVAL;
static int slk_fmt = SLK_FMT_INVAL; /* fmt of slk_init */