vidloop: check return value of enable_codec()